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()

Package: Entity Component System (ECS)

-

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

  1. Resolution Note:

    There are no fixes planned for this Bug

  2. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.