TMP within Game over canvas does not disappear

So this is new and exciting… When I disable the canvas on the GameOverCanvas, the buttons go away, but the TMP object containing the game over message remains as an object in world space. I don’t know what to do about this, as the game over UI canvas appears to be working correctly when called within the game context. Please help, and thank you. Using Unity 2021.3.11f1.

Hi,

Have you already compared your code to the Lecture Project Changes which can be found in the Resources of this lecture? Have you already tried to add Debug.Logs to your code to see what is going on during runtime?

My code was identical to the lecture project changes. I just applied a workaround by disabling and enabling the whole GameObject instead of just the Canvas. This feels like a Unity bug.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms