cancel
Showing results for 
Search instead for 
Did you mean: 

Physics Error: AssertionException: If Physics.autoSimulation is false

Everysimo
Explorer
AssertionException: If Physics.autoSimulation is false, InteractableTriggerBroadcaster.ForceGlobalUpdateTriggers must be called manually.
Assertion failure. Value was False
Expected: True
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <bae255e3e08e46f7bc2fbd23dde96338>:0)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) (at <bae255e3e08e46f7bc2fbd23dde96338>:0)
Oculus.Interaction.InteractableTriggerBroadcaster.OnDisable () (at Assets/Oculus/Interaction/Runtime/Scripts/Interaction/Core/InteractableTriggerBroadcaster.cs:134)
UnityEngine.Behaviour:set_enabled(Behaviour, Boolean)
Oculus.Interaction.CollisionInteractionRegistry`2:Unregister(HandGrabInteractable) (at Assets/Oculus/Interaction/Runtime/Scripts/Interaction/Core/CollisionInteractionRegistry.cs:73)
Oculus.Interaction.Interactable`2:Disable() (at Assets/Oculus/Interaction/Runtime/Scripts/Interaction/Core/Interactable.cs:292)
Oculus.Interaction.Interactable`2:OnDisable() (at Assets/Oculus/Interaction/Runtime/Scripts/Interaction/Core/Interactable.cs:358)
Oculus.Interaction.PointerInteractable`2:OnDisable() (at Assets/Oculus/Interaction/Runtime/Scripts/Interaction/Pointable/PointerInteractable.cs:80)
UnityEngine.Object:Destroy(Object)
Fusion.NetworkObjectPoolDefault:ReleaseInstance(NetworkRunner, NetworkObject, Boolean) (at Fusion/Fusion.Runtime/Object/NetworkObjectPool.cs:65)
Fusion.NetworkRunner:PerformPrefabCleanup(NetworkObject, Boolean, Boolean) (at Fusion/Fusion.Runtime/Runner/NetworkRunner.cs:2182)
Fusion.NetworkRunner:Shutdown(Boolean, ShutdownReason, Boolean) (at Fusion/Fusion.Runtime/Runner/NetworkRunner.cs:582)
Fusion.NetworkRunner:OnApplicationQuit() (at Fusion/Fusion.Runtime/Runner/NetworkRunner.cs:1259)

When I exit play mode in Unity this error shows, but the game works well. What could it be?
I guess it appeared when I tried the Auto-Hand framework (not sure) , but I uninstalled it and it keeps giving me this error

1 REPLY 1

vnnavarro
Honored Guest

Hi @Everysimo , did you find a solution to this? I am using SDK v59 and get this error when I hit play on the Unity error and when I hit stop. I have a simple cube configured as instructed here. As per the console output the issue is with the GrabInteractable and HandGrabInteractable scripts. I am not sure if there is a misconfiguration somewhere or if this is a bug. I'd appreciate any guidance if you managed to fix this.

Best,