• Happy Holidays Guest!

    We want to announce that we will be working at reduced staffing for the holidays. Specifically Monday the 23rd until Jan 2nd.

    This will affect approval queue times and responses to support tickets. Please adjust your plans accordingly and enjoy yourselves this holiday season!

  • Hi Guest!

    Please be aware that we have released a critical security patch for VaM. We strongly recommend updating to version 1.22.0.7 using the VaM_Updater found in your installation folder.

    Details about the security patch can be found here.

Lipsync won't respond to my AssetBundle sounds

yvngfap

New member
Messages
17
Reactions
3
Points
3
Hi all. Having an issue building a scene.
Decided for once to try building an AssetBundle to handle my audio in combination with a RandomSoundFromAB LogicBrick, so that I can reduce load times but for some reason the lipsync won't respond to any of the audio when it is in an AssetBundle.
I tested it outside of the AB just to be sure it wasn't the audio in general doing it and it worked fine when it was loaded in as a separate file. I'm no super knowledgeable on what can cause this kind of thing so am asking for the assistance of the community in figuring this out.
From what I can tell the settings I chose for the audio shouldn't be problematic. The audio is mono. In Unity the load type is set to Compressed In Memory, which I chose initially based on information about load types, and the compression format is Vorbis, which I chose for the same reason. I have tested other peoples audio bundles with the same load type and compression format and the lipsync picked them up fine.
I chose no compression when building the bundle because I have plenty of memory. The only thing that was really different from other users audio I compared to is that mine is 48kHz because my system is set to that across the board as I work in audio. Could that be it?

Any insight would be much appreciated as I went from trying to save time to taking many hours longer than just loading in everything as individual clips would have taken lmao. Even if it meant a longer initial scene load time. Thanks in advance.
 
For lipsync to work the RandomSoundFromAB must be on the person plugins so that the audio comes from HeadAudio.
I can test it if you send the AB my way.
 
For lipsync to work the RandomSoundFromAB must be on the person plugins so that the audio comes from HeadAudio.
It is on the person plugins but I got it to work by rebuilding the AssetBundle with the load type changed to Decompress On Load and I put all the audio within a folder within the AssetBundle instead of just at the root. Unsure which of these two things fixed the issue but problem solved!
 
Glad it works and good choice on going the AB way for sounds, it's so much faster.
 
Glad it works and good choice on going the AB way for sounds, it's so much faster.
Now that I've got the building figured out it is much more streamlined than adding every audio file individually. That shit is so tedious lol
 
Make sure to save the local audio files somewhere because you may want to make changes to the bundle at some point or reuse them. Easier than ripping bundles later on.
 
Back
Top Bottom