Forum rules - please read before posting.

Scene loaded via player switch is not executing OnStart

Hey,

so I stumbled upon this, which I believe is a bug:
I have setup two switchable players 1 and 2. Player 2 starts in sceneB. When I am player 1 in sceneA and switch to player 2 it loads sceneB. But the OnStart cutscene of sceneB is not executed.

Btw. I would really like to have an option to disable the auto switching of scenes. It might be a handy feature for some people but there are many conditions where this ends up in a mess. Especially when setting up the scenes and starting them via play in unity. I have three characters at the moment and already spent too much time in circumventing it.

Comments

  • edited June 2022

    The scene isn't being "begun" in the usual sense, since the Player is already present. Having OnLoad run in this situation is by design.

    However, if you use the "ActionList Starter" component to trigger your initialisation Cutscenes (instead of the OnStart/OnLoad fields), you can configure its Scene Load Condition to have it kick in when switching Player.

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.