I have an audio crossfade running as a coroutine on my audiomanager object. The audiomanager is set not to destroy on load, which seems to be working fine. The track continues to play uninterrupted during the scene change. But the coroutine will stop as soon as the scene changes. I've tested with other persistent objects and I get the same behavior.
Is a coroutine terminating during a scene change even though it's on a persistent object expected behavior?
If so, what are some other ways that I can get a crossfade between scenes?
↧