Forum rules - please read before posting.

Can't load cutscene on start after switch scene

[Unity 2022.3.47f1]/[AC v1.81.6]/2D game

Hi, I really need help with this.


was setting 2 diffrent PlayerStarts, and I tried to add a PlayerStart prefab from asset at start cutscene. Then weird things start to happen.

After a while, I realized that when I play at this scene, it can't load any PlayerStart as default. but It can load cutscene on start properly.

If I start from another scene instead, then come to this scene, game will stuck in black screen for awhile, and completely ignores the cutscene on start of this scene. But it can spawn player to the PlayerStart that attached to previous scene.

I've tried to delete all of the PlayerStarts of this scene(includes the prefab in asset), but it's still this way.


Image of my scene:
https://imgur.com/a/gZBQfSs

Image of Settings Manager:
https://imgur.com/a/2rb412s

demonstration video:
https://imgur.com/a/LKfhG8o


Is this a bug? Or maybe l'm doing somethings wrong? Any help is very apreacciated, Thank you.

Comments

  • was setting 2 diffrent PlayerStarts, and I tried to add a PlayerStart prefab from asset at start cutscene. Then weird things start to happen.

    Sorry, I'm not following. Are you spawning in a PlayerStart as part of your opening cutscene logic? The Player will already have been assigned their PlayerStart at this point - any PlayerStart you add once the scene begins will be ignored.

    If necessary, you can use the Object: Teleport Action to force the Player to a given Marker or PlayerStart, however.

    If I start from another scene instead, then come to this scene, game will stuck in black screen for awhile, and completely ignores the cutscene on start of this scene. But it can spawn player to the PlayerStart that attached to previous scene.

    Do you have a Default PlayerStart assigned in the Scene Manager?

    To be clear on how the PlayerStart system works: default will only be used in the event that no more appropriate PlayerStart is found. If entering from another scene, AC will look to find a PlayerStart that refers to it. If none is found, or the game is begun from this scene, the default will be used instead.

    Keep the Console window open - do any related messages appear?

    To debug the black screen wait, enable the AC Status box from the bottom of the Settings Manager. This will display all running ActionLists in the top-left corner of the Game window. Opening these lists in the ActionList Editor will highlight the currently-running Action. See if this can help reveal if the wait time is caused by an ActionList running.

  • Ok, I've fixed it now by following you and testing around.
    Thank you for your patience!

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.