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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.