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
- Existing assets' references are lost when pasting in copied sub-assets
- Dragging and dropping a system that contains event context to create nested VFX crashes the editor
- TextMeshPro UV2 custom data not rendering for off-screen text with RectMask2D in Unity 6
- Text overlap and is unreadable in Inspector > Terrain Paint Texture after creating new Terrain Layer
- Event "XRInputSubsystem.trackingOriginUpdated" triggers twice when recentering the view
Resolution Note (2021.2.X):
This may be affected by the incoming mono upgrade. Will revisit once the upgrade has landed for more investigation.