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
- Console shows Exception: {"error":"not found","detail":["not found"]} after opening Build History window
- [HDRP] Volumetric cloud shadows disappear when there is no directional light shadows
- “Selector” column names in the Search window are lowercase when added
- Install List Project Counter Panel can be right clicked through and Install Context Menu can be opened disabling Project Counter Panel's buttons
- [MacOS] Scene is marked/flickering as dirty (with asterisk) when dragging a Material on a GameObject in Scene view
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