• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

Solved Vars not finding local audiobundles

Aipas

Active member
Joined
Sep 27, 2024
Messages
103
Reactions
137
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