Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.2
2019.3
2019.3.0f3
2020.1
Issue ID
1212036
Regression
No
Settings in the Lighting Settings window are not automatically updated when changed via editor script
How to reproduce:
1. Open user-submitted project (LightmapParameters)
2. Open the Lighting Settings window
3. In the Mixed Lighting section set 'Baked Global Illumination' to 'True' and 'Lighting Mode' to 'Baked Indirect'
4. From the menu bar select GlobalIllumination/ChangeBakedGlandMixed
5. See the Mixed Lighting section in the Lighting Settings window
Expected result: the changes are automatically updated
Actual result: the changes are not updated until a script recompilation occurs or the Lighting Settings window is closed or reopened
Reproducible with: 2018.4.15f1, 2019.2.19f1, 2019.3.0f5, 2020.1.0a19
Could not test with: 2017.4.36f1(some Mixed Lighting scripting functions different/not yet implemented)
Notes:
Newer Unity versions refresh the Lighting Settings window inconsistently upon hovering the mouse cursor over the Lighting Settings window or sometimes when leaving the window
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
- [Android] 30-45% of allocated memory is "Unknown" in an empty project on some Pixel devices
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
Resolution Note (2020.1.X):
We can't do a force update of the UI on every tick. If you script needs inspectors to update, use:
https://docs.unity3d.com/ScriptReference/Editor.Repaint.html