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
- [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
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
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