# Random crashes with FMOD when loading takes a lot of time (for example when cooking assets on the fly)

**URL:** https://qa.fmod.com/t/random-crashes-with-fmod-when-loading-takes-a-lot-of-time-for-example-when-cooking-assets-on-the-fly/17992
**Category:** Unreal Engine
**Created:** [November 21, 2021, 1:02pm UTC](https://qa.fmod.com/t/random-crashes-with-fmod-when-loading-takes-a-lot-of-time-for-example-when-cooking-assets-on-the-fly/17992 "2021-11-21T13:02:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Ogniok](https://avatars.discourse-cdn.com/v4/letter/o/94ad74/32.png) [@Ogniok](https://qa.fmod.com/u/Ogniok)
#### Post date: [November 21, 2021, 1:02pm UTC](https://qa.fmod.com/t/random-crashes-with-fmod-when-loading-takes-a-lot-of-time-for-example-when-cooking-assets-on-the-fly/17992/1 "2021-11-21T13:02:18Z")

</div>

Hello,

The FMOD integration for UE4 sometimes leads to crashes when loading takes a lot of time (for example when cooking assets on the fly) due to accessing some pointers in the integration that are not yet initialized. I’ve submitted a fix for it on GitHub, but I see the issue is still present in the newest integration (for 4.27) so I wanted to ask are there any plans to fix it?

[https://github.com/fmod/ue4integration/pull/65](https://github.com/fmod/ue4integration/pull/65)

---

<div class="post-metadata">

### Author: ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)
#### Post date: [November 26, 2021, 3:46am UTC](https://qa.fmod.com/t/random-crashes-with-fmod-when-loading-takes-a-lot-of-time-for-example-when-cooking-assets-on-the-fly/17992/2 "2021-11-26T03:46:20Z")

</div>

Thanks. This will be fixed in our next release.
