MultiConnectMultiConnectDocs Website home
MultiConnectSDK › Physics

9. Troubleshooting

Problem What to do
A body falls through the floor or does nothing Make sure it is a child of the object with MCPhysicsSpaceComponent
A body does not move Check Body Type is Dynamic, and that Gravity is not zero
You see no gizmos Turn on Gizmos in the Scene view toolbar, and check MultiConnect > Physics > Gizmo Settings
Vector3 is ambiguous in your script MultiConnectSDK has its own Vector3. Write UnityEngine.Vector3, as in Script 6.2
body.Body is null The body is created when the object is enabled. Use it in Start, not Awake
Players end up with different results Go through the list under Shots. The most common cause is objects created in a different order, or a different prefab on the server
Different results after updating Update the server and every player to the same MultiConnectSDK version
Physics runs too fast or too slow Set Fixed Hz to Unity's fixed rate multiplied by Steps Per Fixed Update. Unity's default of 50 Hz with Fixed Hz at 60 will not match