Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.2.X, 2022.1.X
Votes
1
Found in
2020.1.0a14
2020.3
2020.3.18f1
2021.1
2021.2
2022.1
Issue ID
1367809
Regression
Yes
Warnings are shown in the Console when Live Recompiling scripts after editing the Scene's Lighting Environment properties
How to reproduce:
1. Open the attached project "lightingRepro"
2. Set "Script Changes While Playing" to "Recompile and And Continue Playing" (Unity > Preferences > General)
3. Open the Scene "SampleScene" and enter Play Mode (Assets/Scenes/SampleScene.unity)
4. Open the Lighting window and enter the Environment tab (Window > Rendering > Lighting > Environment)
5. Click the Skybox Material property and select the "Default-Skybox" Material
6. Open the Script "example" (Assets/example.cs)
7. Press "Enter" on the 10th line of the Script and save the changes
8. In the Unity editor, wait for the changes to recompile and inspect the Console window (Window > General > Console)
Expected result: No warnings are seen in the Console window
Actual result: Three identical warnings are seen in the Console window
Reproducible with: 2020.1.0a14, 2020.3.20f1, 2021.1.25f1, 2021.2.0b16, 2022.1.0a12
Not reproducible with: 2019.4.31f1, 2020.1.0a13
Warnings:
The referenced script (Unknown) on this Behaviour is missing!
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
- "TMP_FontAsset.ClearAtlasTextures" set the size of Atlases to 1x1 when "setAtlasSizeToZero" is true resulting in a constant clearing of Atlases of size 1x1 on Editor Shutdown
- Build fails with cast error when building Linux Player
- Mouse cursor swapping between Input and Select mode when hovering over the Grid and Snap input field
- "Terrain" Component values reset when painting over a terrain border while two Inspector tabs are open
- [VFX] Tooltips are not shown anymore
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a1
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0b3
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.26f1