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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note (2021.2.X):
This may be affected by the incoming mono upgrade. Will revisit once the upgrade has landed for more investigation.