Search Issue Tracker
Fixed in 0.60.0-preview.88
Votes
2
Found in [Package]
0.13.0-preview.24
Issue ID
1270257
Regression
No
Build crashes on EntityCommandBuffer.ProcessTrackedChanges after calling CreateCommandBuffer().AddComponent<>() in OnUpdate
Reproduction steps:
1. Create a new project
2. Install Entities package
3. Add the attached CrashSystem.cs script to the Assets folder
4. Open Builds Settings and make sure Architecture is set to x86
5. Build and Run the project
-- Observe the crash
Reproducible with: 0.14.0-preview.18 (2020.1.3f1, 2020.2.0a21), 0.13.0-preview.24 (2020.1.3f1, 2020.2.0a21)
Not reproducible with:0.11.1-preview.4 (2019.4.8f1, 2020.1.3f1, 2020.2.0a21)
Couldn't test with 2018.4 (Entities package does not exist)
Note: the crash occurs both with and without Burst compiler enabled
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
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
Resolution Note (fix version 0.60.0-preview.88):
I verified that the crash no longer happens in Unity 2022.2, with pre-1.0 entities package in the dots monorepo (commit 6668488d4e0237304ba79005c70f0aeb1c040205)