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)
-
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
- Text field does not disappear if Ctrl+Z is pressed while editing text
- CullingResults.GetShadowCasterBounds Results Remain Unchanged Despite Restricting Affected Objects with Rendering Layers
- Water Surface renders rectangular shape when the Camera is relatively close to the surface
- [Android] [iOS] Sprites used as image objects in Canvas render as rectangles in Player
- [MacOS] Crash on [NSApplication endModalSession:] when saving while Play Mode is loading
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.