Search Issue Tracker
By Design
Votes
0
Found in
2021.3.21f1
2022.3.12f1
2023.1.0b8
2023.2.0a6
2023.3.0a14
Issue ID
UUM-30482
Regression
No
ComputeShader can't access ByteAddressBuffer
How to reproduce:
1. Download and open the attached project
2. Enter Play mode
3. Observe the console window
Expected outcome: No warnings appear
Actual outcome: "GarbageCollector disposing of ComputeBuffer. Please use ComputeBuffer.Release() or .Dispose() to manually release the buffer. To see the stack trace where the leaked resource was allocated, set the UnsafeUtility LeakDetectionMode to EnabledWithStackTrace." warnings appear
Reproduced with2020.3.46f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6, 2023.3.0a14
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
This is working as designed. The only compute buffer mode that supports GPU write access is the default mode, Immutable. The other modes, Dynamic and SubUpdates, are CPU write-only and GPU read-only. In the case where GPU write access is needed, please use the Immutable mode (default mode).