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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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