GetMountName crash on Switch

Hey, We’re currently using FMOD in our Nintendo Switch project. We are having an issue where the game will crash upon loading a scene which includes an FMOD Studio Event Emitter and are given the following error. Attempting to recreate this in a fresh project doesn’t give the same error. If anyone could point us towards what is causing the issue in our project that would be excellent and much appreciated. Thanks!

Error: Error occurred at GetMountName().
nn::fs::ResultInvalidMountName: Error: Invalid mount name was specified.
More infomation may be provided by enabling ‘FS Access Log Mode’ at ‘DevMenu: Debug’.

AbortObserver called: -----------
Failed: %s Module: %d Description: %d InnerValue: 0x%08x

D:\home\teamcity2\work\sdk\Programs\Chris\Sources\Libraries\fs\fsa\fs_MountUtility.cpp:66, function GetMountName, condition nn::Result::IsSuccess()
UserException handler is called at pid=138

BREAK 命令を検出しました (ExceptionType=0x0104)
( pc: 0x0000000009fb3924, InstructionCode: 0xe7ffdefe )

Thread : 0x0000000011924138 (MainThread)
Stack Top : 0x0000001011C04000
Stack Bottom : 0x0000001011D04000 (size=0x100000)

r0 = 0x0000000000000000 ( 0)
r1 = 0x0000000000000000 ( 0)
r2 = 0x0000000000000000 ( 0)
r3 = 0x0000000000000000 ( 0)
r4 = 0x0000000000000000 ( 0)
r5 = 0x0000000000000000 ( 0)
r6 = 0x0000000000000000 ( 0)
r7 = 0x0000000000000000 ( 0)
r8 = 0x0000000040008000 ( 1073774592)
r9 = 0x0000000040008000 ( 1073774592)
r10 = 0x0000000000000000 ( 0)
r11 = 0x0000000000000000 ( 0)
r12 = 0x0000000000000000 ( 0)
r13 = 0x0000000000000000 ( 0)
r14 = 0x0000000000000000 ( 0)
r15 = 0x0000000000000000 ( 0)
r16 = 0x00000000118FAEA8 ( 294629032)
r17 = 0x0000000010C9C9A0 ( 281659808)
r18 = 0x0000000000000000 ( 0)
r19 = 0x0000001011D02970 ( 69018331504)
r20 = 0x0000000011919630 ( 294753840)
r21 = 0x00000000103738A8 ( 272054440)
r22 = 0x000000001162CF53 ( 291688275)
r23 = 0x000000001162CF46 ( 291688262)
r24 = 0x0000001011D02A90 ( 69018331792)
r25 = 0x0000000011629737 ( 291673911)
r26 = 0x000000001162974F ( 291673935)
r27 = 0x000000000A5FD310 ( 174052112)
r28 = 0x000000000000000A ( 10)
r29 = 0x0000001011D028F0 ( 69018331376)
r30(lr) = 0x0000000009FB3924 ( 167459108)
sp = 0x0000001011D028F0 ( 69018331376)
pc = 0x0000000009FB3924 ( 167459108)

tpidrro = 0x0000000011C04200
tpidr = 0x0000002092646CC0

pstate = 0x60000000 (N=0 Z=1 C=1 V=0 Q=0 J=0 E=0 T=0 IT=0x00 GE=0x0)
afsr0 = 0x00000000
afsr1 = 0x00000000
esr = 0x02000000 (EC=0x00 IL=1 ISS=0x000000)
far = 0x0000000009FB3924

V0 = 0x00000000116261810000000011626181 (0.000000E+00)
V1 = 0x00000000000000000000000000000001 (0.000000E+00)
V2 = 0x0000001011D028900000001011D028F0 (0.000000E+00)
V3 = 0x00000000000000000000000042C80000 (0.000000E+00)
V4 = 0x00000000000000000000000080000000 (0.000000E+00)
V5 = 0x0000000000000000000000003E2AAAAB (0.000000E+00)
V6 = 0x0000000000000000000000003CF9DC90 (0.000000E+00)
V7 = 0x000000000000000000000000B8B6F302 (0.000000E+00)
V8 = 0x00000000000000003FB81E24A3B2A700 (0.000000E+00)
V9 = 0x00000000000000003E112E0BE826D695 (0.000000E+00)
V10 = 0x0000000000000000000000003F800000 (0.000000E+00)
V11 = 0x00000000000000000000000040A00000 (0.000000E+00)
V12 = 0x000000000000000000000000447A0000 (0.000000E+00)
V13 = 0x0000000000000000000000003A83126F (0.000000E+00)
V14 = 0x0000000000000000401C14AAB51745E5 (0.000000E+00)
V15 = 0x00000000000000000000000000000000 (0.000000E+00)
V16 = 0x0000000000000000000000003D977000 (0.000000E+00)
V17 = 0x00000000000000000000000037FB2EE4 (0.000000E+00)
V18 = 0x0000000000000000000000003AA63FF4 (0.000000E+00)
V19 = 0x000000003F8000000000000000000000 (0.000000E+00)
V20 = 0x0000000041200000BF80000000000000 (0.000000E+00)
V21 = 0x0000000000000000000000003F800000 (0.000000E+00)
V22 = 0x00000000000000003F80000000000000 (0.000000E+00)
V23 = 0x80000000800000008000000080000000 (0.000000E+00)
V24 = 0x00000000412000000000000000000000 (0.000000E+00)
V25 = 0x000000000000000000000000BF800000 (0.000000E+00)
V26 = 0x000000000000000000000000413DC79C (0.000000E+00)
V27 = 0x000000000000000000000000413DC79C (0.000000E+00)
V28 = 0x000000000000000000000000358637BD (0.000000E+00)
V29 = 0x000000000000000000000000BE8BD8A0 (0.000000E+00)
V30 = 0x00000000000000000000000041490FDB (0.000000E+00)
V31 = 0x000000000000000000000000BEA6C6BC (0.000000E+00)

Stack trace:
0x0000000009FB3924 _Z13AbortObserverRKN2nn4diag9AbortInfoE+0x24
0x0000000010C08AC4 (unknown)
0x0000000010C06C90 (unknown)
0x0000000010C06D64 (unknown)
0x0000000010C1A92C (unknown)
0x0000000010C1AB50 (unknown)
0x0000000010C1FCE8 _ZN2nn2fs12GetEntryTypeEPNS0_18DirectoryEntryTypeEPKc+0x78
0x0000000009FA5480 _ZN6il2cpp2os4File17GetFileAttributesERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEPi+0x40
0x0000000009F1AE78 _ZN6il2cpp6icalls8mscorlib6System2IO6MonoIO19GetFileAttributes40EPDsPi+0x28
0x0000000009189B70 MonoIO_GetFileAttributes_m2430578535+0x60
0x000000000917A094 MonoIO_GetFileAttributes_m2086493016+0x94
0x0000000009179FC0 MonoIO_ExistsFile_m812572516+0x80
0x0000000009174810 File_Exists_m3943585060+0x120
0x0000000009317CBC TimeZoneInfo_TryGetNameFromPath_m239609890+0x7C
0x000000000931764C TimeZoneInfo_CreateLocal_m701291163+0x4BC
0x0000000009316FEC TimeZoneInfo_get_Local_m2495540097+0x6C
0x000000000931AB40 TimeZoneInfo_GetDateTimeNowUtcOffsetFromUtc_m3893949862+0x60
0x000000000949CD20 DateTime_get_Now_m1277138875+0xA0
0x000000000941A15C RuntimeManager_Initialize_m1020201346+0x1DC
0x0000000009419C3C RuntimeManager_get_Instance_m2982391461+0x49C
0x000000000941E218 RuntimeManager_PathToGUID_m4145579567+0xE8
0x000000000941F08C RuntimeManager_GetEventDescription_m1557673769+0x7C
0x0000000009421F4C StudioEventEmitter_Lookup_m4256012408+0x7C
0x00000000094228D4 StudioEventEmitter_Play_m701702364+0xA4
0x0000000009421FE8 StudioEventEmitter_HandleGameEvent_m340546570+0x68
0x0000000009421E8C StudioEventEmitter_Start_m4006889209+0xFC
0x0000000008099874 Z31RuntimeInvoker_Void_t1185182177PFvvEPK10MethodInfoPvPS4+0x14
0x0000000009EF26E4 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException+0x44
0x0000000009FCB284 _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb+0x64
0x0000000009FB9B2C _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb+0x5C
0x000000000A5FE578 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtrP21ScriptingExceptionPtr+0x528
0x000000000A5FE724 _ZN13MonoBehaviour30InvokeMethodOrCoroutineCheckedE18ScriptingMethodPtr18ScriptingObjectPtr+0x54

Related modules:
base size name/path
0x000000000800D000 0x0000000008487000 E:\Humble Grove\Repositories\twentynine\SwitchIL2CPPCache\il2cpp_cache\linkresult_614819CF4C7BED7B0A588CF5788703AB\SwitchPlayer.nss
0x0000000010BB1000 0x0000000000E65000 nnSdk

Stack dump:
0x0000001011D028F0: 20 29 D0 11 10 00 00 00 C4 8A C0 10 00 00 00 00 )…
0x0000001011D02900: 42 00 00 00 00 00 00 00 90 2A D0 11 10 00 00 00 B…
0x0000001011D02910: 00 00 00 00 00 00 00 00 D0 2A D0 11 10 00 00 00 …

0x0000001011D02920: F0 29 D0 11 10 00 00 00 90 6C C0 10 00 00 00 00 .)…l…
0x0000001011D02930: 03 00 00 00 00 00 00 00 A0 29 D0 11 10 00 00 00 …)…
0x0000001011D02940: 37 97 62 11 00 00 00 00 46 CF 62 11 00 00 00 00 7.b…F.b…
0x0000001011D02950: 53 CF 62 11 00 00 00 00 42 00 00 00 00 00 00 00 S.b…B…
0x0000001011D02960: 02 62 2F 00 00 00 00 00 00 00 00 00 00 00 00 00 .b/…
0x0000001011D02970: 03 00 00 00 00 00 00 00 A0 29 D0 11 10 00 00 00 …)…
0x0000001011D02980: 37 97 62 11 00 00 00 00 46 CF 62 11 00 00 00 00 7.b…F.b…
0x0000001011D02990: 53 CF 62 11 00 00 00 00 42 00 00 00 00 00 00 00 S.b…B…
0x0000001011D029A0: 4F 97 62 11 00 00 00 00 90 2A D0 11 10 00 00 00 O.b…*…
0x0000001011D029B0: 00 00 00 00 00 00 00 00 80 EE 29 10 00 00 00 00 …)…
0x0000001011D029C0: E0 F4 EF 85 21 00 00 00 70 FF 34 10 00 00 00 00 …!..p.4…
0x0000001011D029D0: 02 62 2F 00 00 00 00 00 46 CF 62 11 00 00 00 00 .b/…F.b…
0x0000001011D029E0: 53 CF 62 11 00 00 00 00 42 00 00 00 00 00 00 00 S.b…B…

Memory information:
Address Perms Mem
0x0000000008000000-0x0000000008002000 r-x- –
0x0000000008002000-0x0000000008003000 r— –
0x0000000008003000-0x000000000800D000 rw-- –
0x000000000800D000-0x000000000B2E0000 r-x- –
0x000000000B2E0000-0x000000000FC56000 r— –
0x000000000FC56000-0x0000000010494000 rw-- –
0x0000000010494000-0x00000000107E8000 r-x- –
0x00000000107E8000-0x0000000010A5E000 r— –
0x0000000010A5E000-0x0000000010BB1000 rw-- –
0x0000000010BB1000-0x00000000111EE000 r-x- –
0x00000000111EE000-0x0000000011896000 r— –
0x0000000011896000-0x0000000011A16000 rw-- –
0x0000000011C04000-0x0000000011C05000 rw-- –
0x0000000011C09000-0x0000000011C0A000 rw-- –
0x0000000011C0E000-0x0000000011C0F000 rw-- –
0x0000000011C13000-0x0000000011C14000 rw-- –
0x0000001011C04000-0x0000001011D04000 rw-- –
0x0000001012D12000-0x0000001012E12000 rw-- –
0x0000001016C1D000-0x0000001016D1D000 rw-- –
0x000000101EEDB000-0x000000101EFDB000 rw-- –
0x000000101F26D000-0x000000101F36D000 rw-- –
0x0000001022788000-0x0000001022798000 rw-- –
0x0000001029D92000-0x0000001029E92000 rw-- –
0x000000102AA6A000-0x000000102AB6A000 rw-- –
0x000000102E3BF000-0x000000102E4BF000 rw-- –
0x0000001030828000-0x0000001030928000 rw-- –
0x000000103C4E0000-0x000000103C5E0000 rw-- –
0x000000104074D000-0x000000104084D000 rw-- –
0x0000001041E3D000-0x0000001041F3D000 rw-- –
0x000000104E10C000-0x000000104E20C000 rw-- –
0x000000105180F000-0x000000105200F000 rw-- –
0x0000001052DF1000-0x0000001052EF1000 rw-- –
0x0000001058D3E000-0x0000001058D5E000 rw-- –
0x000000105B8CB000-0x000000105B9CB000 rw-- –
0x000000105C07F000-0x000000105C17F000 rw-- –
0x000000106000B000-0x000000106010B000 rw-- –
0x00000010610F2000-0x00000010611F2000 rw-- –
0x0000001061F87000-0x0000001062087000 rw-- –
0x000000106AD7F000-0x000000106AE7F000 rw-- –
0x000000106E39B000-0x000000106E3BB000 rw-- –
0x000000107703A000-0x000000107713A000 rw-- –
0x00000010790FC000-0x0000001079100000 rw-- –
0x000000107C3FE000-0x000000107C4FE000 rw-- –
0x000000107FB0B000-0x000000107FC0B000 rw-- –
0x000000108414C000-0x000000108424C000 rw-- –
0x0000001087E3C000-0x0000001087F3C000 rw-- –
0x000000108836D000-0x000000108846D000 rw-- –
0x0000002091C00000-0x0000002092E4E000 rw-- –
0x0000002092E4E000-0x0000002092E52000 ---- L-
0x0000002092E52000-0x0000002092FE7000 rw-- –
0x0000002092FE7000-0x0000002092FE8000 rw-- LU
0x0000002092FE8000-0x0000002092FF0000 rw-- –
0x0000002092FF0000-0x0000002093000000 rw-- LU
0x0000002093000000-0x00000020941BB000 rw-- –
0x00000020941BB000-0x0000002094214000 rw-- L-
0x0000002094214000-0x0000002094218000 rw-- –
0x0000002094218000-0x000000209426C000 rw-- LU
0x000000209426C000-0x00000020942CB000 rw-- –
0x00000020942CB000-0x00000020942CE000 rw-- LU
0x00000020942CE000-0x00000020942D2000 rw-- –
0x00000020942D2000-0x000000209432A000 rw-- L-
0x000000209432A000-0x0000002094546000 rw-- –
0x0000002094546000-0x0000002094547000 rw-- L-
0x0000002094547000-0x0000002094549000 rw-- –
0x0000002094549000-0x000000209454A000 rw-- L-
0x000000209454A000-0x000000209454C000 rw-- –
0x000000209454C000-0x000000209454D000 rw-- L-
0x000000209454D000-0x000000209454F000 rw-- –
0x000000209454F000-0x0000002094550000 rw-- L-
0x0000002094550000-0x000000209465F000 rw-- –
0x000000209465F000-0x000000209466F000 ---- L-
0x000000209466F000-0x0000002094B60000 rw-- –
0x0000002094B60000-0x0000002094B80000 ---- L-
0x0000002094B80000-0x0000002095A11000 rw-- –
0x0000002095A11000-0x0000002095A31000 ---- L-
0x0000002095A31000-0x00000021859F6000 rw-- –
0x00000021859F6000-0x0000002185AF6000 ---- L-
0x0000002185AF6000-0x0000002185AF7000 rw-- –
0x0000002185AF7000-0x0000002185BF7000 ---- L-
0x0000002185BF7000-0x0000002186C3A000 rw-- –
0x0000002186C3A000-0x000000218AC3A000 rw-- LU
0x000000218AC3A000-0x000000218AC3C000 rw-- –
0x000000218AC3C000-0x0000002196C3C000 rw-- LU
0x0000002196C3C000-0x0000002196C3E000 rw-- –
0x0000002196C3E000-0x0000002196D3E000 ---- L-
0x0000002196D3E000-0x0000002196D40000 rw-- –
0x0000002196D40000-0x0000002196E40000 ---- L-
0x0000002196E40000-0x0000002196E42000 rw-- –
0x0000002196E42000-0x0000002196F42000 ---- L-
0x0000002196F42000-0x0000002196F44000 rw-- –
0x0000002196F44000-0x0000002197044000 ---- L-
0x0000002197044000-0x0000002197046000 rw-- –
0x0000002197046000-0x0000002197146000 ---- L-
0x0000002197146000-0x0000002197148000 rw-- –
0x0000002197148000-0x0000002197248000 ---- L-
0x0000002197248000-0x000000219724A000 rw-- –
0x000000219724A000-0x000000219734A000 ---- L-
0x000000219734A000-0x000000219734C000 rw-- –
0x000000219734C000-0x000000219744C000 ---- L-
0x000000219744C000-0x000000219744E000 rw-- –
0x000000219744E000-0x000000219754E000 ---- L-
0x000000219754E000-0x0000002197550000 rw-- –
0x0000002197550000-0x0000002197650000 ---- L-
0x0000002197650000-0x0000002197652000 rw-- –
0x0000002197652000-0x0000002197752000 ---- L-
0x0000002197752000-0x0000002197754000 rw-- –
0x0000002197754000-0x0000002197854000 ---- L-
0x0000002197854000-0x0000002197856000 rw-- –
0x0000002197856000-0x0000002197956000 ---- L-
0x0000002197956000-0x0000002197958000 rw-- –
0x0000002197958000-0x0000002197A58000 ---- L-
0x0000002197A58000-0x0000002197A5A000 rw-- –
0x0000002197A5A000-0x0000002197B5A000 ---- L-
0x0000002197B5A000-0x0000002197B5C000 rw-- –
0x0000002197B5C000-0x0000002197C5C000 ---- L-
0x0000002197C5C000-0x0000002197C5E000 rw-- –
0x0000002197C5E000-0x0000002197D5E000 ---- L-
0x0000002197D5E000-0x0000002197D60000 rw-- –
0x0000002197D60000-0x0000002197E60000 ---- L-
0x0000002197E60000-0x0000002197E62000 rw-- –
0x0000002197E62000-0x0000002197F62000 ---- L-
0x0000002197F62000-0x0000002197F64000 rw-- –
0x0000002197F64000-0x000000219A134000 rw-- LU
0x000000219A134000-0x000000219A136000 rw-- –
0x000000219A136000-0x00000021A6136000 rw-- LU
0x00000021A6136000-0x00000021A6138000 rw-- –
0x00000021A6138000-0x00000021AC139000 rw-- LU
0x00000021AC139000-0x00000021AC13B000 rw-- –
0x00000021AC13B000-0x00000021AC23B000 rw-- LU
0x00000021AC23B000-0x00000021ACA3E000 rw-- –
0x00000021ACA3E000-0x00000021ACB3E000 ---- L-
0x00000021ACB3E000-0x00000021ACB40000 rw-- –
0x00000021ACB40000-0x00000021ACC40000 ---- L-
0x00000021ACC40000-0x00000021ACFC2000 rw-- –
0x00000021ACFC2000-0x00000021AD7C2000 ---- L-
0x00000021AD7C2000-0x00000021AE2F9000 rw-- –
0x00000021AE2F9000-0x00000021AE8D9000 ---- L-
0x00000021AE8D9000-0x00000021AE8FB000 rw-- –
0x00000021AE8FB000-0x00000021AE9FB000 ---- L-
0x00000021AE9FB000-0x00000021AF0FF000 rw-- –
0x00000021AF0FF000-0x00000021AF1FF000 ---- L-
0x00000021AF1FF000-0x00000021B1400000 rw-- –
0x00000021B1400000-0x00000021B5400000 ---- L-
0x00000030C7C04000-0x00000030C7C44000 r— –

  • Perms: r=Read w=Write x=Execute d=DontCare
    Attrs: L=IsMemoryLocked() U=Uncached

Can you tell me what Switch SDK and FMOD versions you are using?

FMOD 1.10.06 and SDK version 5.4.0en

I found the issue was using the .NET 4x equivalent scripting runtime. Downgrading to the (now) legacy version resolved the issue. Would be nice to see this be fixed though!

Currently our libs are built using Switch SDK 5.3.0, this could also be an issue. If you require libs built against a different SDK to this, contact us at support@fmod.com and we can help you with that.