Forum Discussion
XNW
4 years agoHonored Guest
Meta Avatar SDK with Obb file
Recently, our team started to use obb file as the apk file is getting bigger and bigger. After using obb, our meta avatar doesn't load correctly, and we get these errors: [ovrAvatar2 native] AssetL...
michal-vrisch
4 years agoHonored Guest
Same Problem here but with different file:
[ovrAvatar2 native] AssetLoaderZip::Failed to open asset zip file: SampleAssets/PresetAvatars_Quest.zip
The OculusAvatarmanager contains the list: PreloadZipFiles. The zip files provided here are located in: Assets/Oculus/Avatar2/StreamingAssets/.
Unity documentation says that when using .obb files the StreamingAssets Folder is located inside of the .obb file, and you should use unities: UnityWebRequest to read them correctly.
https://forum.unity.com/threads/obb-file-as-streaming-asset-for-android.1071137/
Oculus is using native code to load this .zip files, which seems to work correctly without .obb files but fails when the streaming asset folder is inside the .obb file.. 😕 This is my guess.
Since the loading code is native i have no idea how to fix/workaround this.
I just submitted a bug report. Lets hope for a fast answer..
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 months ago
- 12 months ago
- 2 months ago
- 7 months ago