Unity Issue Tracker - The Burst converted value differs from the value of the non-Burst conversion when converting the value from a float to a double
Closed
BUR-2691
The Burst converted value differs from the value of the non-Burst conversion when converting the value from a float to a double
Package: Burst
Won't Fix
1.8.X
The difference is due to the Mono Runtime handling intermediate floating point calculations differently, as opposed to Burst or .NET Core, whose values are more precise.
How to reproduce:
1. Open the “BurstConversion“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Open the “Test“ GameObject in the Inspector
5. Observe the values of the “With Burst” and the “Without Burst“ properties
Expected result: There is no difference between the values of the “With Burst” and the “Without Burst“ properties
Actual result: The “With Burst“ property value is higher than the “Without Burst“ property value