# App crashes when running Android ATSC. ERROR in FMODFileCallbacks.cpp

**URL:** https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462
**Category:** Unreal Engine
**Created:** [February 13, 2020, 6:14pm UTC](https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462 "2020-02-13T18:14:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)
#### Post date: [February 13, 2020, 6:14pm UTC](https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462/1 "2020-02-13T18:14:30Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [February 24, 2020, 4:46am UTC](https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462/2 "2020-02-24T04:46:46Z")

</div>

Thanks for your patience, we are currently investigating this.

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [February 26, 2020, 4:51am UTC](https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462/3 "2020-02-26T04:51:13Z")

</div>

Are you able to provide a project that reproduces the issue at all? So far I have not had any luck in reproducing it myself, or even some detailed steps on how to get it to this state.

---

<div class="post-metadata">

### Author: ![jessekirbs](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@jessekirbs](https://qa.fmod.com/u/jessekirbs)
#### Post date: [March 11, 2020, 6:57am UTC](https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462/4 "2020-03-11T06:57:26Z")

</div>

Cameron,

Thanks for the reply. I can send a project over - would you like the Unreal project or the APK for Android? What’s the best way to get it to you? Thanks!

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [March 11, 2020, 9:41pm UTC](https://qa.fmod.com/t/app-crashes-when-running-android-atsc-error-in-fmodfilecallbacks-cpp/15462/5 "2020-03-11T21:41:36Z")

</div>

Both might be best, if possible. You can upload it to our website: [https://www.fmod.com/profile#uploads](https://www.fmod.com/profile#uploads).
