# Unity integration not compatible with ILogHandler

**URL:** <https://qa.fmod.com/t/unity-integration-not-compatible-with-iloghandler/23047>\
**Category:** Unity\
**Created:** [June 17, 2025, 2:40am UTC](https://qa.fmod.com/t/unity-integration-not-compatible-with-iloghandler/23047 "2025-06-17T02:40:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PoleaxeGames](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/poleaxegames/32/1933_2.png) [@PoleaxeGames](https://qa.fmod.com/u/PoleaxeGames)\
**Post date:** [June 17, 2025, 2:40am UTC](https://qa.fmod.com/t/unity-integration-not-compatible-with-iloghandler/23047/1 "2025-06-17T02:40:17Z")

</div>

I use ILogHandler to have my own logging system, which color codes logs and other things. But because FMOD also outputs logs, this cases Unity to crash because it is calling the logging system from a thread. Ideally this should be fixed, but if not there needs to be a way to turn off FMOD logs.

---

<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:** [June 24, 2025, 10:23pm UTC](https://qa.fmod.com/t/unity-integration-not-compatible-with-iloghandler/23047/2 "2025-06-24T22:23:08Z")

</div>

Unity’s default logging system is thread-safe for basic message logging, is your custom ILogHandler using any main-thread-only APIs? eg. modifying the scene, UI elements, etc.

---

<div class="post-metadata">

**Author:** ![PoleaxeGames](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/poleaxegames/32/1933_2.png) [@PoleaxeGames](https://qa.fmod.com/u/PoleaxeGames)\
**Post date:** [July 7, 2025, 12:01pm UTC](https://qa.fmod.com/t/unity-integration-not-compatible-with-iloghandler/23047/3 "2025-07-07T12:01:26Z")

</div>

I’m color coding logs and the code UnityEngine.Random.ColorHSV throws an exception. There may be other problems as well.
