Search Issue Tracker

By Design

Votes

0

Found in

2018.4

2019.4

2020.3

2021.1

2021.2

Issue ID

1328776

Regression

No

float4x3/4x2 matrices are lost in the Shader uniforms

Shader System

-

How to reproduce:
1. Open the attached "1328776_Repro" project
2. In the Project window select the "TestShader" Asset
3. In the Inspector press the "Compile and show code" button
4. Inspect the $Global cbuffer

Expected results: 4x3 matrix is not missing
Actual results: 4x3 matrix is missing

Reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.5f1, 2021.1.4f1, 2021.2.0a14

  1. Resolution Note (2021.2.X):

    We currently support only matrices with 4 columns.
    Note: 2x4 and 3x4 matrices are supported.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.