Search Issue Tracker

Fixed in 0.0.12-preview.11

Votes

0

Found in [Package]

0.0.12-preview.10

Issue ID

1041390

Regression

No

Unity.Mathematics.math.mul (float4x4 a, float4x4 b) is much slower than simple manual implementation

Package: Unity.Mathematics

-

To reproduce:
1. Open the Mantas' attached project
2. Play the scene and wait a few seconds
3. Check the Console for the results

Expected result: Unity Math function performs similarly to the manual implementation
Actual result: Unity Math function performs much slower than the manual implementation

Reproduced with: 2018.2.0b5, 2018.3.0a1

  1. Resolution Note (fix version 0.0.12-preview.11):

    With the fixing version of mathematics the timing is comparable with the hand-rolled equivalent. With Burst 1.0.0-preview.6 and Unity Mathematics 1.0.0-preview.1, the Unity mathematics implementation is faster than the hand-rolled equivalent.

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.