Forum rules - please read before posting.

Problem when switching players: the scene change even if it shouldn't do.

Hello,

I've had since a lot of time the possibility of switching between two players. Everything was going good, until I changed the computer, re-imported the whole project and updated the version of AC.
I actually have 2019.3.12 Unity version and 1.71.5 AC Version.

The problem is: when I use the Action for Switching player, in the action list, the scene change, but it shouldn't do it.

I tried to follow again this tutorial: https://adventurecreator.org/tutorials/switching-player-character-mid-game#:~:text=Adventure Creator supports having multiple,set Player switching to Allow.

and I found a difference: My Player Prefab doesn't have the "Associated NPC Prefab" anymore.
Can it be a problem with the latest version?

I attach the inspector for the Player Prefab, for the NPC Prefab, and the Action giving the problem: https://imgur.com/a/LWZ1IIY

For any other information about the project, ask me.

Any help would be appreciated.

Thanks,
Mirko

Comments

  • It's an old tutorial - thanks for bringing it to my attention. I've unpublished it for now and will update it.

    With v1.71, AC overhauled the player-switching system to make it much easier and manageable to handle multiple player characters. See this tutorial video for an overview, as well as the Manual's "Player switching" chapter, for details on the new way this works.

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.