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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment