Blurred text when activating Canvas

Asked

Viewed 444 times

2

Image as it should be:

inserir a descrição da imagem aqui

Blurred image after deactivating first Canvas, and activate another Canvas:

inserir a descrição da imagem aqui

I use two Canvas in the same Scene, one for the login, which starts enabled, another for the registration that starts disabled, and when the register button is clicked, it activates the Canvas record.

void TaskOnClick()
    {
        CanvasLogin.enabled = false;
        LoginValue.text = "";
        PasswordValue.text = "";
        CanvasRegister.enabled = true;
    }

But after the register button is clicked, the Canvas is blurred, the configuration of the two is identical, and a detail: any change in the fields/screen the Canvas is correctly rendered...

Canvas is configured to scale according to screen size: inserir a descrição da imagem aqui

Note:

The problem is not that Canvas is blurry, but that it is blurry after activating by command.

  • I’m not really into Unity, but try Canvas.ForceUpdateCanvases View the Unity documentation

  • @lazyFox I tried here now and also was not, to start thinking that this Unity ta bugadão heheh

1 answer

0


I decided to increase the reference resolution, from 800x600 to 1920x1080.

But I can’t tell the cause of the image is blurred only when I activated Canvas by command, because it started normal.

inserir a descrição da imagem aqui

Browser other questions tagged

You are not signed in. Login or sign up in order to post.