Search Issue Tracker

Fixed in Unity 2018.3



Found in


Issue ID




Physics.RebuildBroadphaseRegions setting the subdivisions to a low value, then setting it to a higher value causes errors




Priority: 6Not yet prioritized for a release


Severity: 3Secondary functionality broken

How to reproduce:

1. Open any (new) project
2. In the Physics Settings, set the Broadphase Type to Multibox Pruning
3. Import attached script
4. Attach script to any GameObject
5. Set the World Extents value to a legitimate one (like 10,10,10)
6. Play the scene, then stop playing the scene
7. Set the Subdivisions value to some value less than the largest value used before
- Note there are errors in the console
- The errors stop appearing if the value is reset or increased

- The same behaviour is not reproducible when using the Physics Manager window

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.