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
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
- “ReferenceError: Pointer_stringify is not defined” error is thrown when downloading a file
- GameObjects are not rendered when using a fragment shader with RWStructuredBuffer in URP
Add comment