Steam Audio

Steam Audio

[Unity] Changing phononscene on scene transition
Hey all,

first time working with Steam Audio and loving it so far! I'm running into a small however. When transitioning between two scenes the phononscene doesn't seem to update. My first scene is in a very tight room and when moving into the next scene (an outside area), the characteristics of the small room are preserved.

Does anyone know of a good way to update the phononscene on scene change?

Thanks a lot!
< >
Showing 1-6 of 6 comments
Flaschendeckel Jul 23, 2018 @ 4:07pm 
I found a way to export a phononscene at runtime, hoping to be able to do this when loading a scene. The console tells me it build succesfully but it gives me the "Scene not found. Make sure to pre-export the scene." error and keeps using the phononscene from the first level.

Another interesting side effect: When I load the first scene again from the second level I get a really loud and distorted static noise. Sounds almost like feedback.
lakulish Jul 24, 2018 @ 1:27pm 
Hi,

Have you pre-exported both the scenes that you're transitioning between? Steam Audio should automatically load the new .phononscene file when transitioning to a new scene.

For example if you're transitioning from Scene1.unity to Scene2.unity, if you've pre-exported both scenes, then in the StreamingAssets folder, you should see Scene1.phononscene and Scene2.phononscene.
Flaschendeckel Jul 25, 2018 @ 12:23pm 
Hey lakulish,

thanks so much for getting back to me! I had both scenes pre-exported. It's good to know Steam Audio should be doing this automatically. In that case we probably had something wrong with either our setup or the way we transitioned between scenes.

We solved it for now by working within one bigger scene and just telporting the player instead of loading a new scene, which works fine for our small project. Next time I'm using Steam Audio I'll give it another shot.

Thanks for your hard work and the help! :)
76561198391971199 Jul 27, 2018 @ 8:05pm 
we ran into the same issue and still can't solve it.
our project is using unity 5.6.2 with the latest beta14 of SteamAudio plugin.
the features we used are spatialization and baked reverb mixer effect.
we found out that if the phononscene has been accessed by any SteamAudioSource in a scene, it won't be released when changing scenes.
is there any way to release and reload phonoscene files manually at runtime?
AC  [developer] Aug 23, 2018 @ 5:11pm 
We also realized that as we were investigating this issue. This should be resolved in our latest 2.0-beta.15 release. Scene changes should work properly when using Steam Audio with Unity's audio mixer.
Last edited by AC; Aug 23, 2018 @ 5:12pm
76561198391971199 Sep 10, 2018 @ 6:38pm 
Thank you, updated to beta 15 and this issue was solved.
Last edited by AkiraFan; Sep 10, 2018 @ 6:38pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50