Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
0
Found in
2018.4
2020.2.0b11
2021.1
Issue ID
1295676
Regression
No
Physics is interacting between the Scenes when Scenes are loaded with LoadSceneInPlayMode using localPhysicsMode
How to reproduce:
1. Open the user's attached "New Unity Project" project
2. Open the "Main" Scene
3. Enter the Play Mode
4. In the Game view press the "Load Scene" button twice
Expected results: The balls that were loaded after the second button press are not colliding with the balls loaded after the first button press
Actual results: All of the balls are colliding with each other
Reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.1.17f1, 2020.2.0f1, 2021.1.0a9
Notes:
- Using "SceneManager.LoadScene" with the "localPhysicsMode" parameter works fine and the physics do not interact between different Scenes
With the fix, the scene is no longer simulation (by default) because local physics scenes can only be manually simulated. The very fact that they were supposed to be loaded into a separate scene but they continued to simulate showed that they were in-fact being loaded into the default (and automatically simulated) physics scene. You can manually simulate this but it isn't required. Ping me if you need more info - Melv.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2021.2):
This was a scene management issue. Note that now these scenes are loaded into their own physics world, they no longer simulate automatically as both 2D/3D local physics worlds require manual simulation.