Search Issue Tracker
Not Reproducible
Votes
0
Found in
Issue ID
1059198
Regression
No
[SRP] CommandBuffer.SetGlobalMatrixArray only the first index gets populated
SRP Repo: Issue #1295
Upon passing a Matrix4x4 array using:
Matrix4x4[] myMatrixArray= new Matrix4x4[2] { Matrix4x4.identity, Matrix4x4.identity };
cmd.SetGlobalMatrixArray("MyMatrixArray", myMatrixArray);
context.ExecuteCommandBuffer(cmd);
and sampling it in a Shader, the second index is empty (all 0's).
Breaking it apart into 2 separate float4x4 properties in the Shader and setting them individually works as expected.
Using Unity 2018.1.0f1 and the latest of the Unity 2018.1 branch.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Add comment