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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
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.