0
0

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

  • You must to post comments
0
0

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

    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.

  • Richard Simms

    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

  • Richard Simms

    Hi Vittle,

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

    Thanks,
    Richard

  • Vittle

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

  • Vittle

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

Showing 1 result
Your Answer

Please first to submit.