Forum rules - please read before posting.

Problem publishing the Game!

edited May 2015 in Technical Q&A
Hello,
We use Adventure Creator's menu in our MainMenu for Loading our saved scenes and in our levels (with the escape button). When we play the menu and the levels in Unity Editor Preview, the menu works perfectly but when we publish the game one time the MainMenu doesn't work and the other our level's escape menu. Are we doing anything wrong with publishing the game or can't we use this menu in more than one scenes?
Please respond as soon as possible!! 

Thank you in advance,
The Gaming Pub!

Comments

  • We found the problem but we don't know how to solve it. When we click (in MainMenu) "New Game" unity changes scene from MainMenu to Level1, but our Adventure Creator Managers don't. So when the scene changes we want also change the Managers.
  • Your managers should remain the same throughout the game - how are you changing scene?  By using the Engine: Change scene Action?  I want to help, but I'm really not clear on what you're exact problem is - please provide any screenshots, error logs, or further descriptions that you can provide.
  • We are changing the scene by the command Application.LoadLevel(Application.loadedLevel + 1). Does this cause any problems with the AdventureCreator?
  • It varies from game to game.  It'll prevent various things from happening, such as recording your scene's save data and de-parenting any Unity UI Canvas objects so that they can be carried over.

    The safe way to change an AC scene through code is to use the SceneChanger script's ChangeScene function:

    AC.KickStarter.SceneChanger.ChangeScene ("", Application.loadedLevel + 1, true);

    (or 'false', if you don't wish to save room data)
  • edited May 2015
    Thank you very much for your immediate response!  :)
    The Gaming Pub!
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.