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
- UI becomes unresponsive when using AppUI Navigation and Event System is attached
- PlayerPrefs get corrupted when a minimized fullscreen Player is closed through the Taskbar
- "To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations." warning is printed when JobTempMemoryLeakValidation switch is enabled
- Main Thread stalling when loading Audio Source asset asynchronously while preloading another Audio Source asset
- Material artifacts occur in the Material Preview window when baked lighting is applied to scenes
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)