UI Canvas is not Updating

Hi Everyone,

I’m doing a Menu with UI. And I’m having a visual problem.

When you click on a button you are supposed to deactivate the main menu and enter a second Menu. This is working since the Main Menu gets deactivate with no problem. But the scene seems to not being able to update. What I mean is that the Menu is still there until I switch from a Scene View to Game View and back. Then it dissapear.

I tried to add
Canvas.ForceUpdateCanvases();

to a script and call it after the menu gets deactivated but is not working. Anyone had the same problem?

Thank you all in advance

Already found out the problem…

Cámera was set to Clear Flags = Don’t clear. Changing it to solid color worked like a charm