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: '试图访问无效的地址。
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.
Unfortunately I am unable to reproduce the crash with your code either.
Could you please contact 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.