Forum rules - please read before posting.

Footstep sounds lost on player switch

I have added the Footsteps sounds component and the Remember Footstep sounds component to the sprite GameObject of my default player and everything is working (including saving/loading after running a Sound:Change footsteps action).

However, when I switch to a new player and then back, the new footsteps are forgotten by the previous player...

To recreate:
1. Create an interaction with a Sound: Change footsteps that assigns a couple of new walk sounds
2. Walk Play the game
3. Walk around to verify that the original walk sounds are being used
4. Execute the interaction that switches the footstep sounds
5. Switch to a new player (can be in the same scene)
6. Note that the player is now back to the original footsteps

AC: 1.68.4
Unity: 2019.2.0f1

I'm using SaveableData folders (which works fine except for when switching players).

Thanks

Comments

  • edited August 2019

    Thanks for the steps. I'm assuming you've switched back to the original player in between steps 5 and 6?

    Do any error messages appear, and do things work if you rename your SaveableData folders to e.g. _SaveableData to "disable" them?

  • Yes, exactly.

  • No error messages and no change when I rename the SaveableData folder.

  • This is part of a wider issue related to player data when switching is involved. I shall send you a package via PM to test.

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.