Deactivating and Activating Canvas makes inputing break

Recently i’ve updated my project to unity version 2021.3.6F1, before i was using 2021.2.

After this update whenever i deactivated and activeted my canvas the mouse input wouldn’t work anymore.

I have my canvases set up like this:

Main Canvas

  • [Childs of Main]
  • Intro Canvas
  • HUD Canvas

I alternate between canvas by enabling and disabling the canvas component.

Couldn’t figure what is the real issue, i found a workaround that is disabling and after a frame enabling the sortingOverride, for some reason when i do this everything works fine.

Is this a bug? Was there something new on this new version that when i deactive and active a canvas it won’t update fully.

If it’s the same issue, I think it’s currently registered.

Unity Issue Tracker - UI becomes not interactable after deactivating and reactivating Canvas (unity3d.com)

1 Like