Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2019.3.0a4
2019.3.0b1
2020.1.0a1
Issue ID
1179905
Regression
Yes
Loading Scene files with removed Unity components results in uninformative errors
How to reproduce:
1. Open the attached project ("case_1179905-19.3.zip")
2. Open the repro scene ("1")
3. Select Bug > Check Dependencies
4. Inspect the console
Expected results: No warnings are thrown
Actual results: "Component of type GUI Layer is no longer available in Unity" warning is thrown
Other possible warnings:
"Component of type GUI Texture is no longer available in Unity" warning is thrown
"Component of type GUI Text is no longer available in Unity" warning is thrown
Related error: "Component could not be loaded when loading game object. Cleaning up!"
Reproducible with: 2019.3.0a4, 2019.3.0b3, 2020.1.0a3
Not reproducible with 2018.4.8f1, 2019.2.5f1, 2019.3.0a3 (The GUI layer was deprecated and the warning was added on 2019.3.0a4)
Comments (2)
-
pako
Feb 16, 2022 19:30
Still getting this error on Unity 2020.3.25.f1 for GUI Layer when running the Facebook SDK examples.
-
paradoxmachine
Jan 08, 2021 10:27
Also getting this error for GUI Layer:
Component GUI Layer in Main Camera for Scene Assets/New Scene.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
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
- Input from the "Backslash" key is not detected in the Web Player when using the Japanese 106/109 key keyboard
- High "Total" value of the "TerrainManager.CullAllTerrains" when generating terrain
- UI Layout rebuild triggered by a rounding error when using TextMesh Pro
- Sprite Shape Corners and Edges are invisible when a closed Sprite Shape is used
- Script icon Gizmos cause lag/performance issues in Scene view even when the Scene Camera is not pointed at Gizmos
Resolution Note (fix version 2020.1):
Fixed in 2019.3.0f2, 2020.1.0a13
The warnings can still be seen when opening the scene, but a new more informative error was added, which specifies where exactly the problematic component is.