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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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)