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
- Objects with Universal Render Pipeline/Particles/Lit shader are always lit up when changing their Rendering Layer Mask
- PolySpatial “Trying to set shader on a Material Variant.” error is printed in the console when entering Play Mode
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
Resolution Note (2021.2.X):
This may be affected by the incoming mono upgrade. Will revisit once the upgrade has landed for more investigation.