MatchCondition docs #943
SnaiperoG3D
started this conversation in
Documentation
Replies: 4 comments 5 replies
-
so to remove test nob from client, i need to add it to different match |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is the intended behavior.
…On Mon, Jul 28, 2025, 6:37 AM SnaiperoG3D ***@***.***> wrote:
so to remove test nob from client, i need to add it to different match
—
Reply to this email directly, view it on GitHub
<#943 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGPJC3SCRRVO2KU5MEDDXPD3KX4PHAVCNFSM6AAAAACCQQP6EKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJQHA4DMOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
That might be a bug but I would need a test project to evaluate. When a
despawn sends the latest values should be sent if there are any changes
pending writing. Such as if you change a value and at the interval has not
come up yet, and the object is despawnec for that interval completes; in
this scenario the value should be sent with these bond message. I do not
recall at the top of my head if you will get an on change message but the
value should be set before the object stop callbacks occur.
When you say changes are not synchronized when someone is added to observe
the object do you mean that they're not arriving on spawn or something else?
…On Mon, Jul 28, 2025, 10:36 AM SnaiperoG3D ***@***.***> wrote:
IsRebooting.Value = true;
MatchCondition.AddToMatch(tempId, NetworkObject, replaceMatch: true);
IsRebooting will not synced on client before nob will be deleted
—
Reply to this email directly, view it on GitHub
<#943 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGPJC3XQKFNJ6CVVSNZPCBL3KYYO3AVCNFSM6AAAAACCQQP6EKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJRGEZTSNY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Can you please file a bug report. Make sure you're on the latest version.
In the bug report include a very simple test project please and step by
step on how to reproduce using your test project.
…On Mon, Jul 28, 2025, 10:49 AM SnaiperoG3D ***@***.***> wrote:
no, on despawn. there is a rebooting variable on nob exposed to event
action for catch in ui in my case. and before remove that nob on client i
need to sync this var to show in ui. so i do change this var on server, and
then disable this nob for all clients via matchcondition. so i expect to
get last syncvar state before nob will be despawned on client but its not
—
Reply to this email directly, view it on GitHub
<#943 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGPJC3UUEWUI4DH7VD5ZO533KYZ5ZAVCNFSM6AAAAACCQQP6EKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJRGE2TIOI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ive found that MatchCondition doesnt work if nob not added to it, it just ignored, if it as it should work it better to add this info in docs, cuz it confising.
In my case i have next setup: client connect -> spawn client prefab -> add it to match 0 -> spawn test nob -> add to match 0. client can see test nob, cuz both in match 0, then after some time i do RemoveFromMatch for test nob from match 0. and as a result this test nob still exist at client
Beta Was this translation helpful? Give feedback.
All reactions