-
Notifications
You must be signed in to change notification settings - Fork 464
Closed
Labels
good-first-issueContributions are welcome. Good first issue for newcomers or first time contributors.Contributions are welcome. Good first issue for newcomers or first time contributors.priority:highThis issue has high priority and we are focusing to resolve itThis issue has high priority and we are focusing to resolve itstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report
Description
NetworkAnimator throws an exception on the host/server when the scene has NetworkObjects that are not observed by all clients, for example if some clients have those NetworkObjects as hidden via NetworkObject.NetworkHide(clientId).
This takes place when an animation gets triggered on the server side.
[Netcode] Sending ClientRpc to non-observer! TargetClientIds contains clientId 1 that is not an observer!
0x00007ffa0e1a068d (UnityPlayer) UnityMain
0x00007ffa0e1a6d62 (UnityPlayer) UnityMain
0x00007ffa0ecb72ae (UnityPlayer) UnityMain
0x00007ffa0d147ff1 (UnityPlayer)
0x0000016ac936bb0c (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log_Injected (UnityEngine.LogType,UnityEngine.LogOption,UnityEngine.Bindings.ManagedSpanWrapper&,intptr)
0x0000016ac936b98b (Mono JIT Code) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000016ac936b68b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at C:/build/output/unity/unity/Runtime/Export/Logging/DebugLogHandler.cs:9)
0x0000016ac936acf6 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object) (at C:/build/output/unity/unity/Runtime/Export/Logging/Logger.cs:60)
0x0000016b9b1608ca (Mono JIT Code) UnityEngine.Debug:LogError (object) (at C:/build/output/unity/unity/Runtime/Export/Debug/Debug.bindings.cs:130)
0x0000016b9b1607d3 (Mono JIT Code) Unity.Netcode.NetworkLog:LogError (string) (at C:/New folder/MyProject/Library/PackageCache/[email protected]/Runtime/Logging/NetworkLog.cs:34)
0x0000016ac956694b (Mono JIT Code) Unity.Netcode.NetworkBehaviour:__endSendClientRpc (Unity.Netcode.FastBufferWriter&,uint,Unity.Netcode.ClientRpcParams,Unity.Netcode.RpcDelivery) (at C:/New folder/MyProject/Library/PackageCache/[email protected]/Runtime/Core/NetworkBehaviour.cs:183)
0x0000016b2f2c9ec3 (Mono JIT Code) Unity.Netcode.Components.NetworkAnimator:SendAnimStateClientRpc (Unity.Netcode.Components.NetworkAnimator/AnimationMessage,Unity.Netcode.ClientRpcParams) (at ./Library/PackageCache/[email protected]/Components/NetworkAnimator.cs:1282)
0x0000016b2f2c6933 (Mono JIT Code) Unity.Netcode.Components.NetworkAnimator:CheckForAnimatorChanges () (at ./Library/PackageCache/[email protected]/Components/NetworkAnimator.cs:923)
0x0000016b2f2c222b (Mono JIT Code) Unity.Netcode.Components.NetworkAnimatorStateChangeHandler:NetworkUpdate (Unity.Netcode.NetworkUpdateStage) (at ./Library/PackageCache/[email protected]/Components/NetworkAnimator.cs:80)
0x0000016a8018362c (Mono JIT Code) Unity.Netcode.NetworkUpdateLoop:RunNetworkUpdateStage (Unity.Netcode.NetworkUpdateStage) (at C:/New folder/MyProject/Library/PackageCache/[email protected]/Runtime/Core/NetworkUpdateLoop.cs:185)
0x0000016a802f17b3 (Mono JIT Code) Unity.Netcode.NetworkUpdateLoop/NetworkPreUpdate/<>c:<CreateLoopSystem>b__0_0 () (at C:/New folder/MyProject/Library/PackageCache/[email protected]/Runtime/Core/NetworkUpdateLoop.cs:232)
0x0000016975c9f118 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ffa0c7e694e (mono-2.0-bdwgc) mono_jit_set_domain
0x00007ffa0c728464 (mono-2.0-bdwgc) mono_object_get_virtual_method
0x00007ffa0c728550 (mono-2.0-bdwgc) mono_runtime_invoke
0x00007ffa0df2f4fd (UnityPlayer)
0x00007ffa0df12d5b (UnityPlayer)
0x00007ffa0d9e0f81 (UnityPlayer)
0x00007ffa0d9e0fa3 (UnityPlayer)
0x00007ffa0d9e5f7a (UnityPlayer)
0x00007ffa0dfc04c3 (UnityPlayer)
0x00007ffa0dfbf3bb (UnityPlayer)
0x00007ffa0dfc46c1 (UnityPlayer)
0x00007ffa0dfc54ab (UnityPlayer) UnityMain
0x00007ff7f0af11f2 (TugOfWarClientDebug)
0x00007ffb08a47344 (KERNEL32) BaseThreadInitThunk
0x00007ffb094a26b1 (ntdll) RtlUserThreadStart
- OS: Win10
- Unity Version: 2023.2.3
- Netcode Version: 1.7.1
Metadata
Metadata
Assignees
Labels
good-first-issueContributions are welcome. Good first issue for newcomers or first time contributors.Contributions are welcome. Good first issue for newcomers or first time contributors.priority:highThis issue has high priority and we are focusing to resolve itThis issue has high priority and we are focusing to resolve itstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report