Unity Ver: 2019.4.35f1
AC Ver: 1.75.2
Hello,
I'm not sure if this is a bug or is working as expected. It's to do with running an "ActionList on start game" and "on start scene".
I have an action list on start game which does a simple check of a variable and uses that result to switch to a scene:

This works correctly, however, if I start play in a scene which has Sound: Play music in it's "on start" I get this odd result where I'm switched to a scene via game start, but I'm also hearing music from the 'on start scene' which is no longer active.
I would have expected the "on game start" action list to have fully processed and loaded the correct scene before any scene start actionlists were done, but that doesn't seem to be the case here.
I hope that makes sense?
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
"On game start" will be run before "On scene start", but one won't wait for the other.
Thank you for clarifying that.
Hi Chris,
I'm taking advantage of this post because I have a problem and a question.
Are global variables available in the ActionList that's set to "On Start Game" in Settings > Customs > ActionList on start game?
I created two presets (Real and Debug) and I wanted to initialize them when the game launches. I've checked the variable, but it's never read.
Am I missing something?
Thanks
They should be. Is this to say the wrong Preset gets assigned, or the ActionList doesn't run at all?
What's your AC version?
Chris,
I'm an idiot, I set the DEBUG_MODE variable to true, but using its preset. I kind of forgot to ignore the presets for this variable and set its value back to its initial value.
Oops.
Sorry!
Happy Xmas