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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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)