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
- Manual reference page for Grid Selection is missing
- Awaitable.NextFrameAsync causes GC Alloc 0.7 KB when using CancellationToken
- Prefab "Overrides" list item popups are overridden when navigating with keyboard arrow keys
- Alpha Tolerance setting does not affect generated outlines when generating Custom Physics Shape in the Sprite Editor
- The information/help message section misses a margin in the "Profiler" window
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