FakeByte / EpicOnlineTransport

A Transport for Mirror using Epic Online Services
MIT License
252 stars 52 forks source link

Freezing when leaving runtime. #45

Open EchoPrograms opened 1 year ago

EchoPrograms commented 1 year ago

When I leave runtime unity hangs at 0 % CPU, I think it is waiting for eos services to close but it never does. I have to restart unity every time. It only happends when I have the EOSSDKComponent enabled with valid IDs.

munkiki7 commented 1 year ago

I have encountered the same thing using Unity 2021.3.15f1

It's most likely related to this code: image

Change the while loop to this: FreeLibrary(libraryPointer);

paomeng-game commented 1 year ago

I am facing with the same issue, I try to attach the vs2019 to Unity and interrupt the process, then I found a thread broking on the code as munkiki7 said, I will try munkiki7's idea later when I am free, I think it's probably the solution.