|
Post by hipsterdufus on Nov 19, 2021 23:26:38 GMT
Hi, just got the asset and I'm working through some issues. I can get my music to play in editor but when I build my project and run, there's no music. My sound effects work in editor and build, it's just my music so maybe there's something wrong with my PlaylistController? Any idea what to check for this?
|
|
|
Post by DarkTonic Dev on Nov 20, 2021 19:10:40 GMT
If your music is supposed to be full volume all the time check that you've kept Spatial Blend Rule as "force to 2d".
|
|
|
Post by hipsterdufus on Nov 20, 2021 21:27:40 GMT
No luck, any other ideas to check? Is there any way to see some logs for a playlist so I have a clue what's wrong with it? I can only turn on logs for sound groups.
|
|
|
Post by DarkTonic Dev on Nov 20, 2021 21:32:14 GMT
Negative, Playlist only logs a few obscure problems, so if you've already checked the Console, there's nothing optional to turn on. You can clear persistent settings to see if that's the issue. Click the "Reset Prefs/Settings" button on the Master Audio Manager window: www.dtdevtools.com/docs/masteraudio/MasterAudioManager.htmAnd make sure the Master Playlist Volume isn't set to zero. If none of that works, you will need to send me an example scene that reproduces the problem.
|
|
|
Post by hipsterdufus on Nov 21, 2021 16:11:15 GMT
I figured this issue out. I am new to addressables and only turned them on because it was mentioned in the best practices in order to save memory so that all the clips are not stored in memory all the time. I noticed that the music played fine when I set the Audio Origin to Clip. So I did a little research and it turns out you have to build the addressables into a package from the Addressables Groups window -> Build -> New Build -> Default Build Script so they are available to the build. After doing that it works.
|
|
|
Post by DarkTonic Dev on Nov 22, 2021 16:10:00 GMT
Ah correct. They are not the easiest thing to do.
-Brian
|
|