Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.1.X, 2021.2.X
Votes
0
Found in
2021.1.0a1
2021.1.18f1c1
2021.2
2022.1
Issue ID
1365411
Regression
Yes
Crash on ComputeShader::DispatchComputeShader when attempting to bind Texture as UAV without UAV usage flag set
How to reproduce:
1. Open the attached project from "ImmenseTerrainProject.zip"
2. Enter Play Mode
Reproducible with: 2021.1.0a1, 2021.2.0b14, 2022.1.0a11
Not reproducible with: 2019.4.31f1, 2020.3.20f1
Expected result: Console logs error indicating that attempting to bind Texture as UAV but the texture wasn't created with the UAV usage flag set
Actual result: Crash occurs
First lines of stack trace:
0x00007ff7b563cb6e (Unity) ComputeShader::DispatchComputeShader
0x00007ff7b594ef66 (Unity) ComputeShader_CUSTOM_Dispatch
0x000002041dc14600 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.ComputeShader:Dispatch (UnityEngine.ComputeShader,int,int,int,int)
0x000002041dc13103 (Mono JIT Code) [TerrainDataManager.cs:67] Immense.TerrainDataManager:UpdateData ()
0x000002041dc10da3 (Mono JIT Code) [ImmenseTerrain.cs:73] Immense.ImmenseTerrain:Update ()
0x00000204af312f90 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
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 [NSApplication endModalSession:] when saving while Play Mode is loading
- Incorrect Preferred Height calculation when a single text line uses different Font Assets
- [ShaderGraph] Redo Collapse Nodes action does not fully collapse the Nodes
- [Ubuntu] Mouse cursor is set box select mode after exiting VFX Graph's Rename Context function
- Unrecognized identifier DECLARE_STACK_CB error is thrown when VirtualTexture Property is used with Custom RenderTexture target
Resolution Note (fix version 2022.1):
Fixed in 2022.1.0a13.
Error logs are added back and the Editor no longer crashes.
Resolution Note (fix version 2021.2):
Fixed in 2021.2.1f1
Added errors in console
Resolution Note (fix version 2021.1):
Fixed in 2021.1.27f1
Errors are logged in the Console