Search Issue Tracker
Won't Fix
Won't Fix in 1.0.X
Votes
0
Found in [Package]
1.0.0
Issue ID
ECSB-132
Regression
No
[Entitites] Silent crash when executing ScriptBehaviourUpdateOrder.AppendWorldToCurrentPlayerLoop()
Reproduction steps:
1. Open the attached project “EntitiesCrash”
2. Click Crash > Trigger crash
3. Move the cursor to Scene view
Expected result: Script is executed
Actual result: Editor crashes
Reproducible with: 1.0.0-exp.12 (2022.2.1f1)
Could not test with: 0.17.0-preview.42 (2022.2.1f1) (Console errors after witching to 0.17.0-preview.42 :Library\PackageCache\com.unity.platforms@0.10.0-preview.10\Editor\Unity.Build\BuildArtifacts.cs(7,24): error CS0234: The type or namespace name 'Editor' does not exist in the namespace 'Unity.Properties' (are you missing an assembly reference?))
Reproducible on: Windows 10
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (1.0.X):
The crash is not in AppendWorldToCurrentPlayerLoop(); it is a stack overflow in TestSystem.OnUpdate(). I believe the intent here was to call base.OnUpdate(), but instead the system calls base.Update() (which in turn calls OnUpdate(); this loop leads to a stack overflow.