• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.

Solved Vars not finding local audiobundles

Aipas

Member
Joined
Sep 27, 2024
Messages
60
Reactions
55
Dug around a bit but still stumped.

Problem:
1 - Create a scene that has audiobundles which are not dependencies. They are created for and used only in that scene (dialogue).
2 - Use sound from ab (plugin) to play them.
3 - Create a var, while including those audiobundles as local files.
4 - Test in a clean vam install. It can't find the audiobundles which are in the var. Clean install has all required dependencies downloaded (plugins, clothing, etc.).

Fix:
1 - Open created var scene.json and find the audiobundle references; example: "AssetBundle" : "Custom/Assets/Aipas/Madam_Jana_permit_P2_assets/Aipas_MJP_P2_Joshua.audiobundle"
2 - Replace with this: "Aipas.Madam_Jana_permit_p2_(Story).1:/Custom/Assets/Aipas/Madam_Jana_permit_P2_assets/Aipas_MJP_P2_Joshua.audiobundle" and now it works.

The solution seems to involve the var self-referencing? Pretty sure I'm doing something wrong, even if it does work.
Now that I'm looking at it again, is it because it's calling an "AssetBundle" instead of an "AudioBundle"?
Any thoughts?
 
Last edited:
Solution
Yes, it's the reason why. Assetbundles are a specific file type, and if the browser is not configured to display them properly (the .audiobundle) you won't see them. It's a bug at the plugin level.
Yes, it's the reason why. Assetbundles are a specific file type, and if the browser is not configured to display them properly (the .audiobundle) you won't see them. It's a bug at the plugin level.
 
Upvote 0
Solution
Why did you change the assetbundle extension to audiobundle?

The reason for using the name audiobundle is just to follow what MacGruber says in a forum post:
I just needed to make up a name to avoid people confusing them with a regular Unity AssetBundle
 
Last edited:
Upvote 0
Back
Top Bottom