# Editor crash when play same event repeatedly at the same time

**URL:** <https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652>\
**Category:** Unity\
**Created:** [January 18, 2018, 2:24pm UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652 "2018-01-18T14:24:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vittle](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@Vittle](https://qa.fmod.com/u/Vittle)\
**Post date:** [January 18, 2018, 2:24pm UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/1 "2018-01-18T14:24:22Z")

</div>

Hi, i create multi instances using a event and play they at same time, somtimes this cause crash. My Unity version is 2017.3.0.p1 and fmod version is 1.08.14.  
What may cause this?  
The following is editor log.  
ERROR: SymGetSymFromAddr64, GetLastError: '试图访问无效的地址。

’ (Address: 000007FED7B62254)  
0x000007FED7B62254 (fmodstudiol) (function-name not available)  
ERROR: SymGetSymFromAddr64, GetLastError: '试图访问无效的地址。

’ (Address: 000007FED7B74225)  
0x000007FED7B74225 (fmodstudiol) (function-name not available)  
ERROR: SymGetSymFromAddr64, GetLastError: '试图访问无效的地址。

’ (Address: 000007FED7B5A452)  
0x000007FED7B5A452 (fmodstudiol) (function-name not available)  
ERROR: SymGetSymFromAddr64, GetLastError: '试图访问无效的地址。

’ (Address: 000007FED7B5A59B)  
0x000007FED7B5A59B (fmodstudiol) (function-name not available)  
ERROR: SymGetSymFromAddr64, GetLastError: '试图访问无效的地址。

’ (Address: 000007FED7B776BD)  
0x000007FED7B776BD (fmodstudiol) (function-name not available)  
0x000007FED7BDA729 (fmodstudiol) FMOD\_Studio\_VCA\_SetFaderLevel  
0x000007FED7BEF9AE (fmodstudiol) FMOD\_Studio\_VCA\_SetFaderLevel  
0x000007FED7BEE3D0 (fmodstudiol) FMOD\_Studio\_VCA\_SetFaderLevel  
0x000007FED7BEE969 (fmodstudiol) FMOD\_Studio\_VCA\_SetFaderLevel  
0x000007FED7C58FC1 (fmodstudiol) FMOD::ChannelI::validate  
0x000007FED7D46247 (fmodstudiol) FMOD::GeometryI::setUserData  
0x000007FED7D463EE (fmodstudiol) FMOD::GeometryI::setUserData  
0x00000000778E59CD (kernel32) BaseThreadInitThunk  
0x0000000077A1A561 (ntdll) RtlUserThreadStart

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [January 18, 2018, 10:51pm UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/2 "2018-01-18T22:51:47Z")

</div>

Hi Vittle,

Could you please confirm how many event instances are being created at once?

I’ve tested the same setup in Unity and with 500 instances of the same event created and playing at once does not cause a crash.

Thanks,  
Richard

---

<div class="post-metadata">

**Author:** ![Vittle](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@Vittle](https://qa.fmod.com/u/Vittle)\
**Post date:** [January 19, 2018, 2:00am UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/3 "2018-01-19T02:00:59Z")

</div>

> [@](#):
>
> Hi Vittle,
> 
> Could you please confirm how many event instances are being created at once?
> 
> I’ve tested the same setup in Unity and with 500 instances of the same event created and playing at once does not cause a crash.
> 
> Thanks,  
> Richard

Think you, i just create 10 intances. Is something wrong with my setting?

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [January 21, 2018, 10:23pm UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/4 "2018-01-21T22:23:41Z")

</div>

Hi Vittle,

As mentioned I tried the same setup with 500 instances without a crash.

Would you be able to post some code showing how you are creating and playing these events?

Thanks,  
Richard

---

<div class="post-metadata">

**Author:** ![Vittle](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@Vittle](https://qa.fmod.com/u/Vittle)\
**Post date:** [January 22, 2018, 2:19am UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/5 "2018-01-22T02:19:23Z")

</div>

public class Test : MonoBehaviour {  
public Button btn;  
void Start()  
{  
btn.onClick.AddListener(OnClick);  
}  
void OnClick()  
{  
for (int i = 0; i \< transform.childCount; ++i)  
{  
StudioEventEmitter emitter = transform.GetChild(i).GetComponent();  
emitter.Play();  
}  
}  
}

Just click button to play event setting in childs.  
I tried in Unity5.6.1f1, no crash.  
Tried to play other event, also crash.

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [January 23, 2018, 12:10am UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/6 "2018-01-23T00:10:19Z")

</div>

Hi Vittle,

Unfortunately I am unable to reproduce the crash with your code either.

Could you please contact [support@fmod.com](mailto:support@fmod.com) and send over a small example project of the crash happening for us to reproduce on our end? We will be able to assist further then.

Thanks,  
Richard

---

<div class="post-metadata">

**Author:** ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)\
**Post date:** [January 30, 2018, 4:14am UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/7 "2018-01-30T04:14:32Z")

</div>

Hi Vittle,

Following up to see if you still require help with your crash issue?

Thanks,  
Richard

---

<div class="post-metadata">

**Author:** ![Vittle](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@Vittle](https://qa.fmod.com/u/Vittle)\
**Post date:** [February 2, 2018, 2:02am UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/8 "2018-02-02T02:02:15Z")

</div>

Hi, I will prepare a demo and send to [support@fmod.com](mailto:support@fmod.com). Thanks.

---

<div class="post-metadata">

**Author:** ![Vittle](https://avatars.discourse-cdn.com/v4/letter/v/d07c76/32.png) [@Vittle](https://qa.fmod.com/u/Vittle)\
**Post date:** [February 24, 2018, 2:44am UTC](https://qa.fmod.com/t/editor-crash-when-play-same-event-repeatedly-at-the-same-time/13652/9 "2018-02-24T02:44:50Z")

</div>

Hi Richard,  
I had send a demo to [support@fmod.com](mailto:support@fmod.com). Did you see it?
