Search Issue Tracker
By Design
Votes
0
Found in
2018.2.0b4
Issue ID
1041176
Regression
No
Unity.Mathematics.math.mul(float4x4 a, float4x4 b) arguments order is mismatched
How to reproduce:
1. Open given Unity project
2. Enter "SampleScene" scene
3. Enter Play Mode
4. Notice incorrect results in the console
5. Open "Float4x4Test" script and change function arguments (a, b) order to (b ,a) in line 17
6. Notice correct results in the console
Expected result: Output in the console should be http://www.wolframalpha.com/input/?i=%5B%5B1,2,3,4%5D,%5B5,6,7,8%5D,%5B9,10,11,12%5D,%5B13,14,15,16%5D%5D%5B%5B21,22,23,24%5D,%5B25,26,27,28%5D,%5B29,30,31,32%5D,%5B33,34,35,36%5D%5D
ab = 290 300 310 320
722 748 774 800
1154 1196 1238 1280
1586 1644 1702 1760
Actual result: Output in the console is:
a*b = 650 740 830 920
762 868 974 1080
874 996 1118 1240
986 1124 1262 1400
Reproducible with: 2018.3.0a1, 2018.2.0b4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment