License from €75 Log in
DE EN FR ES IT CZ

Game build behaving differently to how it runs in the editor

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 8 years ago
    I've run into an issue after making a couple of seemingly unconnected edits to my game.
    When returning to certain scenes using a 'resume' button (which loads an autosave) from the main menu the scene's background music no longer starts playing.

    For instance:
    1. Character is on 'Scene A' with 'BG Music 1' playing.
    2. Hit 'Esc' key to show Main Menu - 'Menu Background Music' starts playing 
    3. Hit 'Resume' button on main menu - sent back to 'Scene A', 'Menu Background Music' stops as it should,  but 'BG Music 1' does not start playing, despite all setting showing it should.  Doesn't even start when entering an adjacent room with the same background music.

    What bugs me is that this is only an issue in the built game, not when I'm running it in the editor, so I'm not sure where the problem actually is!

    I'm using and building for Mac so I was not really expecting any differences from editor to build.

    Any guidance appreciated.
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 8 years ago
    Has 'Scene A' an own music set or is it just continuing the music from a previous scene.
    If that, it sounds normal that the load game loads action "nothing".
  4. · 8 years ago
    No all the scenes have the actual music file selected for background music. No 'continue music from previous scene' anywhere.
  5. · 8 years ago
    No all the scenes have the actual music file selected for background music. No 'continue music from previous scene' anywhere.

    was the save created previously where these settings were different?
    Always test with recent save files, as things can break when loading a file 
  6. · 8 years ago
    Thanks Sebastian,

    I went back in and deleted all existing saves and autosaves which seems to have fixed the issue.  (:

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?