Save-load, don't remember music

(NeoX) #1

I have a problem with the save system.
In FlowGraph “A”, I play music “A” via PlaySound-audio source->Get object=gameobject with audio source in the scene.
In FlowGraph “B” - play “B”
after save in Flow “A”, game continues to Flow “B”. music will change to “B”, but when I want to load, “A”, it plays still music “B” in scene “A”

Any ideas what I’m doing wrong?:slight_smile:

(Leslie Young) #2

Are you using UnityEngine/Audio/Music Control or UnityEngine/Audio/Sound Control ?
Music Control will save while Sound Control will not since it is used for quick sounds which is not expected to be “restored”.