Question by
fdameronut · May 26, 2020 at 05:53 PM ·
singletonracing game
Singleton forgets mixer when I load another scene.
I am writing a game using Racing Game Starter Kit(RGSK). I have an audiomanager singleton. In the menu scene everything is fine. I can set the music and sfx volumes just fine. When I load the next scene which uses RGSK, I get an exception that the mixer variable is null. I'm not sure if it is RGSK, or if I'm doing something wrong. Thanks in advance.
Floyd
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612235326im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do switch scene with singleton pattern unity3d C# 2 Answers
When I should use a singleton and when just GetComponent? 0 Answers
Best way to stop a car after a finish line? 1 Answer
Unkown Identifier: 'Manager' error when trying to use singletons 0 Answers
Game Manager singleton doesn't sync across the network 1 Answer