# Crash Nintendo Switch Unity Integration 1.09.06

**URL:** <https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285>\
**Category:** Unity\
**Created:** [July 12, 2017, 4:05pm UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285 "2017-07-12T16:05:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Coatsink](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@Coatsink](https://qa.fmod.com/u/Coatsink)\
**Post date:** [July 12, 2017, 4:05pm UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/1 "2017-07-12T16:05:18Z")

</div>

libunwind: getEncodedP C:\buildslave\rynda\armv7l-rynda.x86\_64.windows\build\src\lib\libunwind\src/AddressSpace.hpp:278 - unknown pointer encoding

When using the latest unity integration 1.09.06 for nintendo switch we experience this crash, we can get the game to build if we use a VS solution and the previous version 1.09.05 but this isn’t an option for us as we can’t get a full build of our game through visual studio due to a bug in Clang that uses all of the available RAM on our machines (crazy).

1.09.06 has addressed this issue with building through unity but has now led to this crash that we can’t debug as it doesn’t break in Visual Studio.

Any help would be appreciated.

Thanks,  
Shaun Mitchell

---

<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:** [July 13, 2017, 12:04am UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/2 "2017-07-13T00:04:30Z")

</div>

> [@](#):
>
> libunwind: getEncodedP C:\buildslave\rynda\armv7l-rynda.x86\_64.windows\build\src\lib\libunwind\src/AddressSpace.hpp:278 - unknown pointer encoding
> 
> When using the latest unity integration 1.09.06 for nintendo switch we experience this crash, we can get the game to build if we use a VS solution and the previous version 1.09.05 but this isn’t an option for us as we can’t get a full build of our game through visual studio due to a bug in Clang that uses all of the available RAM on our machines (crazy).
> 
> 1.09.06 has addressed this issue with building through unity but has now led to this crash that we can’t debug as it doesn’t break in Visual Studio.
> 
> Any help would be appreciated.
> 
> Thanks,  
> Shaun Mitchell

What version of Unity and Switch SDK are you using?

---

<div class="post-metadata">

**Author:** ![Coatsink](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@Coatsink](https://qa.fmod.com/u/Coatsink)\
**Post date:** [July 14, 2017, 11:39am UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/3 "2017-07-14T11:39:07Z")

</div>

Latest switch unity 5.5.0p1 and 1.6.0 Switch SDK

---

<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:** [July 16, 2017, 11:40pm UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/4 "2017-07-16T23:40:36Z")

</div>

> [@](#):
>
> Latest switch unity 5.5.0p1 and 1.6.0 Switch SDK

I’m not having any issue building a standard game, VS solution or ROM. Make sure you are using the latest versions of both the FMODStudio Integration and the FMODStudio Switch Integration.  
Is there anything else that may help me reproduce this issue?

---

<div class="post-metadata">

**Author:** ![jandusoft](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jandusoft/32/102_2.png) [@jandusoft](https://qa.fmod.com/u/jandusoft)\
**Post date:** [July 18, 2017, 8:26am UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/5 "2017-07-18T08:26:28Z")

</div>

We are having the same issue. ☹

---

<div class="post-metadata">

**Author:** ![Coatsink](https://avatars.discourse-cdn.com/v4/letter/c/9e8a1a/32.png) [@Coatsink](https://qa.fmod.com/u/Coatsink)\
**Post date:** [July 18, 2017, 3:39pm UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/6 "2017-07-18T15:39:05Z")

</div>

Hi,

It appears that if an exception is thrown when using 1.09.06 it causes that crash

libunwind: getEncodedP C:\buildslave\rynda\armv7l-rynda.x86\_64.windows\build\src\lib\libunwind\src/AddressSpace.hpp:278 – unknown pointer encoding

We tested this with a completely blank project except for a line of code that searched for a non existent GameObject in unity to throw an exception.

Doing the same with 1.09.05 does not cause the crash and shows the exception. So something has changed between those versions that is causing exceptions to crash the game.

---

<div class="post-metadata">

**Author:** ![jandusoft](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/jandusoft/32/102_2.png) [@jandusoft](https://qa.fmod.com/u/jandusoft)\
**Post date:** [July 19, 2017, 8:20am UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/7 "2017-07-19T08:20:38Z")

</div>

We have made a fmod dummy library that help us to continue our porting to switch meanwhile FMOD people solve the library problems on nintendo Switch.

Here you can download the dummy package for unity. Don’t forget to remove everything about fmod on your project and be sure to have a copy on your git/svn server

[FMOD Dummy library][1]  
[1]: [https://ufile.io/bfrl8](https://ufile.io/bfrl8)

---

<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:** [July 21, 2017, 3:42am UTC](https://qa.fmod.com/t/crash-nintendo-switch-unity-integration-1-09-06/13285/8 "2017-07-21T03:42:47Z")

</div>

If you are experiencing this issue, please contact us at [support@fmod.com](mailto:support@fmod.com) so that we can give your account access to the fix.

This fix will be part of the next public release (1.09.07).
