Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X, 2020.1.X
Votes
1
Found in
2019.2
2019.4.6f1
Issue ID
1267509
Regression
Yes
Physics2D Multithreading not behaving as expected
Reproduction steps:
1. Open attached project "MT Physics2D.zip" and scene "SampleScene"
2. Enter Play Mode
3. When MT is ON observer that the boxes hitting the platforms cause the platforms to fall quite far. When the MT is OFF this doesn't happen. Note that turning off the XY position constraints on the Platform Rigidbody2D does the same proving it is related to this.
Expected result: The platforms react the same when the MT solver option is on or off.
Actual result: Platforms react differently when the MT solver is ON.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
Resolution Note (fix version 2020.2):
The multi-threaded solver didn't correctly handle contact masses for the XY position constraints. This was correct for the non-multi-threaded solver so only affects the multi-threaded mode. Note that turning off the XY position constraints in the multi-threaded solver stops the problem.