Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

LoadFilePackage returning file not found on Android

0 votes
When I run LoadFilePackage on Android (in the persistent folder) return file not found even though it exists. We install PCK to the local file system. Something like this fails:

var pckname = "/storage/emulated/0/Android/data/com.company.myapp/files/Packs/Android/TESTPACK.pck";
Assert(File.Exists(pckname));
var result = AkSoundEngine.LoadFilePackage(pckname, out _, AkSoundEngine.AK_DEFAULT_POOL_ID);

I/AKDEBUG: AK Error:
I/AKDEBUG: File not found: /storage/emulated/0/Android/data/com.company.myapp/files/Packs/Android/TESTPACK.pck
D/Unity: Couldn't load audio package /storage/emulated/0/Android/data/com.company.myapp/files/Packs/Android/TESTPACK.pck result was AK_FileNotFound: 0 at ./Runtime/Export/Debug.bindings.h:45 (16640, 0, 0)
E/Unity: Couldn't load audio package /storage/emulated/0/Android/data/com.company.myapp/files/Packs/Android/TESTPACK.pck result was AK_FileNotFound

We're running 2017.2.10
asked Dec 9, 2019 in General Discussion by Robert G. (110 points)

Please sign-in or register to answer this question.

...