Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.3.X



Found in




Issue ID




Loading Scene files with removed Unity components results in uninformative errors

Asset - Database


How to reproduce:
1. Open the attached project ("")
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)

  1. 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.

Comments (2)

  1. 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.

  2. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.