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
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient 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