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
- Resolution preferences changed in the player settings don't apply if no other settings change
- "Property (urp_ReflProbes_BoxMin) exceeds previous array size" warning spams console after switching platforms
- Have to change Input Mapping Path twice for change to take effect when Auto-Save is enabled
- No Duplicate option is available when right clicking States in the Animator Window even though it's available via Shortcut
- Copied and Pasted States appear in a set location instead of where the Users cursor is located at when using the Pasting Shortcut
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