I'm using Unity 2020.3.21f1, Universal Render Pipeline
Hi, I'm new to this, I'm adding a second camera to my scene through using 'Don't Destroy on load'
The Previous scene (Scene1) Has this: void Start() { SceneManager.LoadSceneAsync(LoadingData.sceneToLoad); //Static script called } And the menu and camera items in this scene have this attached: void Start() { DontDestroyOnLoad(gameObject); } So when Scene2 loads, there will be a main camera, and Scene1's Camera. However, in the game mode, when I rollover the (Scene2) main camera's stack, it says it cannot detect an overlay camera, even though the Scene1's overlay camera is in the Scene2 Hierarchy?
When I manually copy over the Scene1 Overlay camera to Scene2, the stack can detect it, and everything works perfect. It is only when using don't destroy on load that it cannot detect a camera? This might be unrelated, but I am trying to use: public void CheckForCamera() { var cameraData = GetComponent
I have also made sure their tags are different. Scene1 Camera has the tag 'HUDCamera' and Scene2 Main Camera has the tag main camera