Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
2020.1.0a4
2021.1.2f1
2021.1.3f1
2021.2.0a13
Issue ID
1328386
Regression
Yes
Float ramainder will change value/precision if it was logged with Debug.Log
How to reproduce:
1. Open the attached project
2. Open SampleScene
3. Click Play
4. Click Step Down multiple times
Expected result: Both sliders decrement identically
Actual result: One of the sliders gets stuck
Reproducible with: 2020.1.0a4, 2020.3.4f1, 2021.1.3f1, 2021.2.0a13
Not reproducible with: 2018.4.33f1, 2019.4.24f1, 2020.1.0a3
Workaround: Calculate the remainder manually - (number - divisor * (number / divisor))
Notes:
1. Does not reproduce in a build with IL2CPP
2. Does not reproduce while debugging scripts with Visual Studio attached to Unity
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
- Long asset names cause overlap with the “Find” function in search result tabs
Resolution Note (2021.2.X):
This may be affected by the incoming mono upgrade. Will revisit once the upgrade has landed for more investigation.