Search Issue Tracker
Won't Fix
Votes
15
Found in
2019.3.0a4
Issue ID
1157933
Regression
Yes
[Scene Management] Component could not be loaded when loading game object exception is thrown on opening the scene
Component could not be loaded when loading game object exception is thrown on opening the scene.
Steps to repro:
1. Create a new project.
2. Import the attached package.
3. Open the SortingLayerExample scene.
Actual Result:
The exception is thrown in the console.
Expected Result:
The scene opens up without any error.
Reproducible in:
2019.3.0b7, 2019.3.0a4, 2019.3.0a6
Working Fine in:
2019.3.0a3, 2019.2.0b4.
Environment:
Windows & Mac.
Stack trace:
Component could not be loaded when loading game object. Cleaning up!
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
-
lordnedox
Sep 11, 2019 09:47
The project has been upgraded to 2019.3 where GUI Layer has been removed. But it's impossible to remove this warning since there's no way to remove the GUI Layer from the camera.
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
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
Resolution Note:
Just before this warning in the console there is another warning:
Component GUI Layer in Main Camera for Scene Assets/SortingLayerExample.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.
Basically the Component type no longer exists and it will be removed next time the scene is saved.