Non-root Canvases will not be scaled: My UI has disappeared

I’ve got a pause menu in my game which was working perfectly until today. It now appears to be invisible even though it’s active in the hierachy. I found this error on the pause menu’s game object but i cant make any sense of it.

76063-canvas-scaler-error.png

The only things i did today was to change the Canvas’s render mode from screen space - overlay to screen space - camera, and to make the camera look at the player.

I’m sure its something simple that’s staring right in the face, I hope someone can help.

I got it! the problem was just that i had the pause menu’s canvas parented to an other canvas and once i unparented it it worked perfectly.

Solo desactiva todos los canvas después del principal.
[Eng]-Disable all the “canvas”, after the main “canvas”.

79111-79108-sin-titulo.png

Después crea un código que al iniciar el juego active el primer canvas.
[Eng]- Then create a code, that activates the first “canvas”.

        using UnityEngine;
        
        public class MenuStart : MonoBehaviour
        {
        	public Transform Capa;           //Canvas to enable
        	void Start ()
        	{
        		Capa.gameObject.SetActive(true);
        	}
        }

Aplica el código y arrastras el primer canvas a ’ capa ’ para que se active.
[Eng]- Apply the code and drag the first “canvas” to “capa” to be activated.

79110-dfafasf.png

To me this works. Thanks :wink: