Editor crash when play same event repeatedly at the same time


(Vittle) #1

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


(リチャード清水) #2

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


(Vittle) #3

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


(リチャード清水) #4

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


(Vittle) #5

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.


(リチャード清水) #6

Hi Vittle,

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.

Thanks,
Richard


(リチャード清水) #7

Hi Vittle,

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

Thanks,
Richard


(Vittle) #8

Hi, I will prepare a demo and send to support@fmod.com. Thanks.


(Vittle) #9

Hi Richard,
I had send a demo to support@fmod.com. Did you see it?