Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.14f1
2021.1
2021.2
2022.1
Issue ID
1368927
Regression
No
Color transformation values behaves differently after performing arithmetic operations
How to reproduce it:
1. Open the attached project "New Unity Project (5).zip"
2. Load the "SampleScene"
3. Enter the Play Mode
4. Observe the Console logs
Expected results: "Integer1: 70" and "Integer2: 70" messages appear
Actual results: "Integer1: 70" and "Integer2: 69" messages appear
Reproducible with: 2019.4.31f1, 2020.3.20f1, 2021.1.24f1, 2021.2.0b14, 2022.1.0a12
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
- 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
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note:
Expected behaviour due to precision difference between constant folding (compile time) and actual multiplication (runtime)