Search Issue Tracker
Fixed in 2017.2.X
Votes
0
Found in
5.6.0f3
Issue ID
919044
Regression
No
Big (>1KB) ComputeBuffers created with IndirectArguments flags fails to be written completely in a Compute Shader
Steps to reproduce:
1) Download attached project and open in Unity
2) Open scene 'Scene' and press play
3) After ~3 seconds stop Play mode
4) Open Console window and you will see a message which says that Items was not written properly
5) Open 'TestCompute' script and edit line 24 (remove or comment the ComputeBufferType.IndirectArguments flag in the constructor)
6) Press Play
7) Check Console window and you will see that items was written properly 'Shader dimension returned: structs 1024 - stride 20'
Expected result: ComputeBuffers created with IndirectArguments flags should be written correctly in a Compute Shader (check attached image 'expected.png')
Actual result: ComputeBuffers created with IndirectArguments flags fails to be written in a Compute Shader (check attached image 'actual.png')
Reproduced with:
5.5.1f1, 5.5.4f1, 5.6.1p3, 2017.1.0b9, 2017.2.0a3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Add comment