Remove UI when loading another scene?
Hi! I'm working on a Android/iOS AR app, and I created a button to change between various scenes that do different things. The problem I am encountering is that when I click on the button the load one of the other scenes from the main menu, the menu UI still stays on screen.
The scene in the hierarchy shows the correct loaded scene, but the UI just remains. I know it must be something silly I am not seeing, but I can't really figure out what.
Hope this makes sense!
thatsd not the expected behaviour, all ui should get destroy when changing scene, are you sure you are not using DonDestroyOnLoad somewhere?
Hi, I'm definitely not using don't destroy anywhere! The button is attached to an empty game object with just the script to async.load scene on press. Do you think forcing the canvas to reload on scene change would work?
in the hirerchy you see the scene has changed but what the scene shows the last scene?
Your answer
Follow this Question
Related Questions
Unity Smooth Move and Zoom UI on Canvas for Android/IOS 0 Answers
When I publish my iOS/Android app, a transparent game object overlaps other 2D game objects 1 Answer
Workflow for developing Unity with native UI (Android and iOS) 0 Answers
Local Leaderboard: Android/ iOS 0 Answers
Showing a text above the crosshair when the crosshair points at something 0 Answers