# Unity 5.4 or 5.5 freezes when I debug my code.

**URL:** <https://qa.fmod.com/t/unity-5-4-or-5-5-freezes-when-i-debug-my-code/12862>\
**Category:** Unity\
**Created:** [December 9, 2016, 5:52pm UTC](https://qa.fmod.com/t/unity-5-4-or-5-5-freezes-when-i-debug-my-code/12862 "2016-12-09T17:52:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joaobsneto](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joaobsneto/32/317_2.png) [@joaobsneto](https://qa.fmod.com/u/joaobsneto)\
**Post date:** [December 9, 2016, 5:52pm UTC](https://qa.fmod.com/t/unity-5-4-or-5-5-freezes-when-i-debug-my-code/12862/1 "2016-12-09T17:52:36Z")

</div>

Hi, it’s the first time that I use FMOD in a Unity project. We started the project without FMOD in mind, but the sound designer requested that we use it. The project was working fine. When I added the FMOD plugin integration for Unity and, when I debug the code, Unity crashes. I deleted the FMOD plugin and now I can debug normally.

---

<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:** [December 11, 2016, 10:42pm UTC](https://qa.fmod.com/t/unity-5-4-or-5-5-freezes-when-i-debug-my-code/12862/2 "2016-12-11T22:42:45Z")

</div>

Unity has logfiles it prints to when it runs. Try checking those to see if you can at least narrow down the last thing to execute before crash.  
[https://docs.unity3d.com/Manual/LogFiles.html](https://docs.unity3d.com/Manual/LogFiles.html)

---

<div class="post-metadata">

**Author:** ![joaobsneto](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joaobsneto/32/317_2.png) [@joaobsneto](https://qa.fmod.com/u/joaobsneto)\
**Post date:** [December 13, 2016, 7:26pm UTC](https://qa.fmod.com/t/unity-5-4-or-5-5-freezes-when-i-debug-my-code/12862/3 "2016-12-13T19:26:10Z")

</div>

> [@](#):
>
> Unity has logfiles it prints to when it runs. Try checking those to see if you can at least narrow down the last thing to execute before crash.  
> [Unity - Manual: Log files](https://docs.unity3d.com/Manual/LogFiles.html)

Unity crashes and does not store any log message.

---

<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:** [December 13, 2016, 11:31pm UTC](https://qa.fmod.com/t/unity-5-4-or-5-5-freezes-when-i-debug-my-code/12862/4 "2016-12-13T23:31:30Z")

</div>

I might need some more information, what version of the integration are you using?  
Have you tried re-importing the integration into the project?  
Are you getting any warnings or errors at all in the editor before this happens?

If you would like to link a project that reproduces this error I could take a look.
