Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2020.3.X, 2021.1.X, 2021.2.X
Duplicate in 2021.1.X
Votes
1
Found in
2021.2.0a8
Issue ID
1320615
Regression
No
Min Bounces is getting clamped to the first digit of the Max Bounces field, making it hard to set proper multi-bounce lighting
Steps to repro:
1. Create new project and scene;
2. In the Lighting window (Window>Rendering>Lighting) click New Lighting Settings button;
3. In the Lighting window type '5' to both Max Bounces and Min Bounces fields;
4. In the Lighting window type '10' to Max Bounces field.
Expected result:
Min Bounces field preserves the same value.
Actual result:
Max Bounces field changes to '1'. Possibly, this is due to the clamping logic not allowing Min Bounces to be bigger than the Max Bounces.
See the attached video, please.
Notes:
- Reproducible in 2021.2.0a8, 2021.1.0b11, 2020.3.0f1, 2020.2.7f1-dots;
- Not reproducible before 2020.2 as Min and Max Bounces have been introduced in this version;
- Reproducible on Windows and OSX;
- The bug makes it hard to set the proper multi-bounce count, when the amount of bounces is more than 10. It would be better to refresh the Min Bounces only after input to Max Count field is completed;
- UX suggestion: swap Max and Min Bounces fields in the Lighting window, as it's more natural way to set minimal value first.
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 mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Peter77
Apr 09, 2021 09:47
Related forum thread:
https://forum.unity.com/threads/minor-but-annoying-lighting-ui-thing.1090054/