- Home /
UI buttons become unselectable on scene change
I have the scene where the canvas and everything is defined. Pressing a button causes the scene to change via Application.LoadSceneAsync().
Upon changing the canvas becomes unselectable and buttons don't highlight on mouseover or anything.
Whats going on... My scripts are extremely simple in terms of UI; nothing special is happening.
Before/After scene change
Answer by Slight0 · Aug 12, 2015 at 01:46 AM
Yeah, so apparently there's this "EventSystem" gameobject that contains StandaloneInputModule, EventSystem, and TouchInputModule components. Without one or all of those components in the scene, all the interactable UI objects do jack diddly.
Why those aren't just thrown in with the canvas object, I haven't a clue. Unity's component model can make interdependencies between components and objects difficult to see.