Physics different in build


I have a weird problem. While in editor the physics work just fine, when I build the game for web, the physics get the issue of not allways colliding correctly and as a result object passing through. (The usual issue). But the thing is that in editor play, everything is working fine.

Any though on this are very welcome :slight_smile:

I think this is a “speed-issue”. Usually the game runs faster in the build than in the editor.

Things you can try:

  • Change the “Fixed Timestep”, but be careful this setting has performace impacts.
  • Use bigger colliders on fast moving objects
  • Use a raycast to test for collisions on fast moving objects as described here