# EventNotFoundException only on some devices

**URL:** <https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281>\
**Category:** Unity\
**Created:** [January 5, 2019, 8:38am UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281 "2019-01-05T08:38:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![StefanoGiu](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@StefanoGiu](https://qa.fmod.com/u/StefanoGiu)\
**Post date:** [January 5, 2019, 8:38am UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/1 "2019-01-05T08:38:03Z")

</div>

I got this error message only on some devices while on some others music plays perfectly.

How can I fix it?

Condition: EventNotFoundException: [FMOD] Event not found ‘event:/Musics/Menu Music’

StackTrace: FMODUnity.RuntimeManager.GetEventDescription (System.String path) FMODUnity.StudioEventEmitter.Lookup () FMODUnity.StudioEventEmitter.Play ()

IntroTransition+\<RunTransition\>c\_\_Iterator3.MoveNext ()

UnityEngine.Debug:LogException(Exception)

\<RunTransition\>c\_\_Iterator3:MoveNext()

UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

DetailedStackTrace: at ExManager.HandleException(System.String condition, System.String stackTrace, LogType type)

at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread)

at UnityEngine.DebugLogHandler.Internal\_LogException(System.Exception , UnityEngine.Object )

at UnityEngine.DebugLogHandler.LogException(System.Exception exception, UnityEngine.Object context)

at UnityEngine.Logger.LogException(System.Exception exception, UnityEngine.Object context)

at UnityEngine.Debug.LogException(System.Exception exception)

at IntroTransition+\<RunTransition\>c\_\_Iterator3.MoveNext()

at UnityEngine.SetupCoroutine.InvokeMoveNext(IEnumerator enumerator, IntPtr returnValueAddress)

BatteryLevel: 0.55

BatteryStatus: Discharging

DeviceModel: samsung SM-G950F

DeviceName: Galaxy S8

DeviceType: Handheld

GraphicsMemorySize: 1024

OperatingSystem: Android OS 8.0.0 / API-26 (R16NW/G950FXXU4CRL3)

OperatingSystemFamily: Other

ProcessorCount: 8

ProcessorFrequency: 2314

ProcessorType: ARMv7 VFPv3 NEON

Version: 2.015

---

<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:** [January 10, 2019, 10:49pm UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/2 "2019-01-10T22:49:45Z")

</div>

It is difficult to say just from that error but could it be that the banks aren’t loaded or haven’t finished loading when Play is called on the StudioEventEmitter?

---

<div class="post-metadata">

**Author:** ![StefanoGiu](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@StefanoGiu](https://qa.fmod.com/u/StefanoGiu)\
**Post date:** [January 13, 2019, 9:28pm UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/3 "2019-01-13T21:28:42Z")

</div>

How can I prevent 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:** [January 13, 2019, 10:04pm UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/4 "2019-01-13T22:04:43Z")

</div>

It all depends on what the issue is.

You will have to do some debugging to see if you can find out more information.

The first thing I would do is check that the bank has been loaded before the sound is set to play.

---

<div class="post-metadata">

**Author:** ![StefanoGiu](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@StefanoGiu](https://qa.fmod.com/u/StefanoGiu)\
**Post date:** [January 17, 2019, 10:37pm UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/5 "2019-01-17T22:37:43Z")

</div>

I added now the Studio Bank Loader on a Game Object where i previously attached the Studio Event Emitter.

I got now this error from the exception manager class:

Condition: BankLoadException: [FMOD] Could not load bank ‘file:///android\_asset/Master Bank.bank’ : ERR\_FILE\_NOTFOUND : File not found.  
StackTrace: FMODUnity.RuntimeManager.loadedBankRegister (LoadedBank loadedBank, System.String bankPath, System.String bankName, Boolean loadSamples, RESULT loadResult) FMODUnity.RuntimeManager.LoadBank (System.String bankName, Boolean loadSamples) FMODUnity.StudioBankLoader.Load ()  
UnityEngine.Debug:LogException(Exception)  
FMODUnity.StudioBankLoader:Load()  
FMODUnity.StudioBankLoader:HandleGameEvent(LoaderGameEvent)  
FMODUnity.StudioBankLoader:Start()

DetailedStackTrace: at ExManager.HandleException(System.String condition, System.String stackTrace, LogType type)  
at UnityEngine.Application.CallLogCallback(System.String logString, System.String stackTrace, LogType type, Boolean invokedOnMainThread)  
at UnityEngine.DebugLogHandler.Internal\_LogException(System.Exception , UnityEngine.Object )  
at UnityEngine.DebugLogHandler.LogException(System.Exception exception, UnityEngine.Object context)  
at UnityEngine.Logger.LogException(System.Exception exception, UnityEngine.Object context)  
at UnityEngine.Debug.LogException(System.Exception exception)  
at FMODUnity.StudioBankLoader.Load()  
at FMODUnity.StudioBankLoader.HandleGameEvent(LoaderGameEvent gameEvent)  
at FMODUnity.StudioBankLoader.Start()

BatteryLevel: 0.34  
BatteryStatus: Discharging  
DeviceModel: HUAWEI PRA-LX1  
DeviceName: P8 LITE BELLO  
DeviceType: Handheld  
DeviceUniqueIdentifier: b0060237b4d33f5eefddc96612583005  
GraphicsMemorySize: 1024  
OperatingSystem: Android OS 8.0.0 / API-26 (HUAWEIPRA-LX1/378(C02))  
OperatingSystemFamily: Other  
ProcessorCount: 8  
ProcessorFrequency: 2112  
ProcessorType: ARMv7 VFPv3 NEON  
Version: 2.019

Unfortunately this is happening only on a phone of one of our testers and I don’t have any way on how to debug it… If I run it on my phone it works properly.

---

<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:** [January 18, 2019, 2:35am UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/6 "2019-01-18T02:35:09Z")

</div>

What version of Unity are you using?

---

<div class="post-metadata">

**Author:** ![StefanoGiu](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@StefanoGiu](https://qa.fmod.com/u/StefanoGiu)\
**Post date:** [January 18, 2019, 8:36am UTC](https://qa.fmod.com/t/eventnotfoundexception-only-on-some-devices/14281/7 "2019-01-18T08:36:18Z")

</div>

2018.2.20f
