Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b1
2018.1.0b8
Issue ID
1004814
Regression
Yes
(B * Quaternion.Inverse(A)).ToAngleAxis(out angle, out angleAxis); line of code doesn't compile anymore
To reproduce:
1. Open the project, attached by the tester (CompilationFail.zip)
2. Observe the errors in the console
3. Inspect the Helper.cs script
Expected: the code compiles without errors
Reproduced in 2018.1.0b1, 2018.1.0b8, 2018.1.0b9, 2018.2.0a1
Did not reproduce in 2017.3.1p2, 2018.1.0a7
Regression 2018.1.0b1
Comments (1)
Add comment
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
Straafe
Aug 26, 2019 18:42
This is some sort of syntax/order of operations bug in 2018 only I guess, but there is a easy quick fix. Simply split the problem line of code into 2 lines of code:
Quaternion Q = B * Quaternion.Inverse(A);
Q.ToAngleAxis(out angle, out angleAxis);
And it'll work in 2018.