Random ERR_INVALID_HANDLE on EventInstance.getParameterByName

I don’t know why, but we get this error every now and then on events that 99.9% of the time work correctly.
Any idea why that would happen?

It sounds like it’s caused by an invalid event instance, you could add a check before that to make sure the instance is valid before trying to access it. Something like:

if (EventInstance.isValid())

The thing is, It’s coming when I call Play() on one of the StudioEventEmitter components provided with the Unity integration packages, and it triggers randomly.
Like, the call works 99% of the times, but sometimes it triggers the error… I tried to read the code and seems like that shouldn’t be the case :open_mouth:

Are you able to share the logs from when this appears?