Search Issue Tracker
Fixed
Fixed in 1.8.8
Votes
0
Found in [Package]
1.6.4
1.7.4
1.8.4
Issue ID
BUR-2390
Regression
No
Int cast inside of a float cast is discarded when using Burst compilation
Reproduction steps:
1. Open the "IN-42235.zip" project
2. Open "Assets/Scenes/SampleScene"
3. In the Hierarchy window, select "Bug Test" GameObject
4. In the Inspector window, click the "Bug 1" option in the Context menu of the "Bug Testing MB (Script)" Component
5. In the Menu bar, click on Jobs -> Burst -> Enable Compilation
6. Repeat steps 3-4 and observe the Console
Expected result: Both outputs are equal
Actual result: Both outputs are different
Reproducible with: 1.6.4, 1.7.4 (2021.3.26f1), 1.8.4 (2021.3.26f1, 2022.3.0f1, 2023.1.0b19, 2023.2.0a17)
Reproducible on: Windows 10
Note: If the results are equal, make sure that the Burst compilation has finished before running the test again
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