Hello - My project is in Unreal 4.23 using FMOD UE4 integration plugin 2.00.07 and FMOD Studio 2.00.07. It validates fine within Unreal editor and all audio plays normally. It packages fine but when I try to open it on my Pico G2 VR headset, it crashes immediately. The error can be traced to the FFMODFileSystem callstacks in \Plugins\FMODStudio\Source\FMODStudio\Private\FMODFileCallbacks.cpp. The code is:
FMOD_RESULT FFMODFileSystem::OpenInternal(const char *name, unsigned int *filesize, void **handle)
{
if (name)
{
FArchive *Archive = IFileManager::Get().CreateFileReader(UTF8_TO_TCHAR(name));
UE_LOG(LogFMOD, Verbose, TEXT(“FFMODFileSystem::OpenInternal opening ‘%s’ returned archive %p”), UTF8_TO_TCHAR(name), Archive);
if (!Archive)
{
return FMOD_ERR_FILE_NOTFOUND;
}
*filesize = Archive->TotalSize();
*handle = Archive;
UE_LOG(LogFMOD, Verbose, TEXT(" TotalSize = %d"), *filesize);
}
return FMOD_OK;
}
Any help would be greatly appreciated. Thank you!