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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Add comment