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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
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