Search Issue Tracker
Fixed
Fixed in 2021.3.38f1
Votes
0
Found in
2021.3.35f1
Issue ID
UUM-64913
Regression
No
Crash on PhysicsManager2D::Simulate when a Prefab is spawned in Play Mode
Reproduction steps:
1. Open the “repro-project“
2. Open the “SampleScene“
3. Enter the Play Mode
4. Wait until the “EnemyBody“ shoots a white bullet (happens after around 2 seconds)
5. Observe the crash
Reproducible with: 2021.3.35f1, 2022.2.0a7
No reproducible with: 2022.2.0a9, 2022.3.20f1, 2023.2.12f1, 2023.3.0b9
Couldn’t test with: 2022.2.0a8 (crashes on a different stack trace while opening the project)
Reproducible on: Windows 11 (10.0.22631) (user’s), Windows 10 (22H2)
Not reproducible on: No other environments tested
Notes:
* Not reproducible in Player
* Crash only occurs when the “Rigidbody 2D“ Component is enabled on both “PlayerBody“ and “EnemyBody“ GameObjects
* Crash only occurs if both “Capsule Collider 2D“ and “Enemy Behaviour (Script)“ Components are enabled on the “EnemyBody“ GameObject
* Crash only occurs if all three “Bullet Projectile“, “Gun“ and “Player“ parameters are set. If either of them is empty, the crash doesn’t occur
First few lines of stack trace:
0x00007ff684056268 (Unity) PhysicsManager2D::Simulate
0x00007ff68405279f (Unity) PhysicsManager2D::FixedUpdate
0x00007ff6840528e6 (Unity) `PhysicsManager2D::Initialize'::`2'::FixedUpdatePhysics2DFixedUpdateRegistrator::Forward
0x00007ff683643d3a (Unity) ExecutePlayerLoop
0x00007ff683643ec6 (Unity) ExecutePlayerLoop
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Assertion printed when Maximum Reflection Probe count is higher than 64 due to k_MaxCubeReflectionsOnScreen when Raytracing is enabled
- Seams are visible on the Water System when multiple tiles are used and their Surface type is set to River
- Matching Game View creates unsaved changes even though nothing to save
- AudioClips do not have path or GUID in Build Report and incorrect size is reported
- The rendered color of the preset differs from the preview color when adding a new swatch in the HDR Color Picker
Add comment