Search Issue Tracker
Not Reproducible
Votes
0
Found in
2021.2.0a21
2021.2.13f1c1
2022.1
2022.2
Issue ID
1408021
Regression
Yes
Editor crashes when loading Compute Shaders and calling Dispatch function
How to reproduce:
1. Download the attached project 'ComputerShaderCrashReportProject.zip'
2. Open 'ComputeShaderTest' Scene
3. Build Addressables in 'Window > Asset Management > Addressables > Groups > Build > New Build > Default Build Script'
4. Enter Play mode
Expected result: Editor does not crash
Actual result: Editor crashes with Assertion failed on expression: 'cbStateIndex < m_ConstantBufferStates.size()'
Reproducible with: 2021.2.0a21, 2021.2.13f1, 2022.1.0b10, 2022.2.0a7
Not reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.0a20
Comments (1)
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
- [Android][iOS][UnityPlayerActivity] Legacy InputField.onEndEdit is not called when ending text edit
- Transform corruption and/or crash on PhysX::CreateCharacterController when spawning physics objects into Prefab stages
- UNITY_EDITOR data is Serialized into AssetBundle when building on the active Build Target
- "TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations..." error when changing the Packages "Cache Location" folder
- CompilationPipeline.assemblyCompilationFinished() hangs unity when reloading domain
cecarlsen
Mar 19, 2022 08:32
I am getting this crash as well. Unity 2021.2.16f1. However, the crash is not consistent. It only happens after the Editor has been open and through a few Play sessions. It is hugely annoying and happens every half hours or so.