Hi, need help with the SDK for Unity. I’m running into unhandled exceptions where the stream is terminating after some time or after I switch scenes, and I think it’s because I’m not closing the event stream. I see CloseEventStream(EventStreamDesc) in the documentation but I’m unclear on how to implement it. I tried declaring a new game task but I get a bunch of errors, starting with “CloseEventStream” does not exist in the current context.
Does anyone have an example from Unity that compiles for how to implement this? Thanks in advance!