Error: Component GUI Layer in Main Camera for [...] is no available
Hi guys. I get the following error when I open up the unity project
Component GUI Layer in Main Camera for Scene Assets/Scenes/Lighting/Lighting_Bust.unity is no longer available.
It will be removed after you edit this GameObject and save the Scene.
I get similar errors not matter what scene I open up.
3 Replies
Hiya. Not sure why you're getting that repeatedly. I have seen it but I'm not getting it at the moment
However - I don't think it's anything to worry about.
Are you working from a fairly recent commit?
Ah. I see - you're loading the scenes in the Lighting subfolder. You probably don't need these.
What are you trying to do?
@andybak Thanks for the reply. I am just trying to understand how the project is structured. So I figured opening up scenes and seeing how it is put together would be the best way.
I have seen that it is recommended to not build via unity3d.
Should it still be possible to open these scenes though? or will there always be the above errors.
I don't think they are used. As far as I can tell they just contain the prefab for each environment. Probably left over from testing/dev years ago
The main scene is the only scene you really need to care about.
(Have you read the dev notes? They aren't great but they are a good place to start)
https://docs.openbrush.app/developer-notes