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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment