I´ve been struggling with this issue for a while but haven´t been able to find an answer anywhere.
Basically, I have two scenes: Intermission and Game scenes. The first one has no camera and is persistent. It is responsible for creating a overlay canvas and loading the Game scene in additive mode. The Game scene runs the proper gameplay (duh) and has a UI element in place. They work fine when loaded separated. However, everytime the Intermission scene loads the Game one, the U element of the latter does not work. It is there in the work tree, but it´s not shown in the game, neither in the scene view. I believe it´s a Unity bug, but I haven´t been able to find a workaround for it.
I´ve tried using different cameras, removing the canvas from one of them and instantiating the UI game object on the fly, but nothing has worked. The issue seems to happen everytime the additive scene gets loaded. And yes, it´s very important to keep the first scene (Intermission) loaded (I cannot just load another scene and remove it ).
Are there any suggestions?
Thanks in advance,
Answer by Nehrk
Mar 14 at 07:01 AM
@perolleiro hi Maybe this is very later response, but here is answer: Go to that scene you want to load additive, select the Camera and set "Clear flags" to "Don't Clear". bye!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
171 People are following this question.
Images as buttons with GUI skins
UI.Image not showing when using non default shader/material
How to make Text in canvas disappear on keypress?
Unity jump from one canvas scene to another scene with canvas
Canvas elements missing on certain computers