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 ConvertBufferToEXRBuffer when Lighting Generation is cancelled
- [URP] TrailEffect in URP package samples does not draw Trail Effect
- "NullReferenceException" error is thrown when calling UIDocument.runtimePanel in OnEnable with ExecuteInEditMode
- Graphics.Blit() performs the operation only to the last display when a multi-display environment is used
- [Windows] Multiple Separation Lines are present in the Light Create Menu
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)