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
- [iOS] Application.deepLinkActivated does not get invoked while app is running when UIApplicationSceneManifest is added in Info.plist
- Inspector scroll area stretches when using components with nested serialized arrays on FBX model prefab instances
- Crash on ConstraintProjectionTree::projectionTreeBuildStep when ConfigurableJoint uses JointProjectionMode.PositionAndRotation and connected Rigidbody switches from kinematic to non-kinematic
- ScriptableObject asset is accessed during the lookup of Build Profiles when opening the Build Profiles Window
- [Multiplayer TPS Sample] Grenade launcher explosion misses the Player when the Collider count exceeds HitColliderBuffer
Add comment