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
- Physics.IgnoreCollision method does not work when used on a disabled GameObject
- Empty data buffer gets passed to OnAudioFilterRead when using Video Player
- The Update() method gets called on a disabled script when added and disabled during runtime
- URP Decal instanced rendering breaks and spams warnings when it is enabled at runtime
- Ligtmaps disappear when entering the Play Mode
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