keijiro / OscJack

Lightweight C# implementation of OSC server/client
The Unlicense
465 stars 64 forks source link

Hang on standalone application exit #23

Closed trandzik closed 3 years ago

trandzik commented 3 years ago

Hello, thanks for integrating OSC to Unity, it works great. However I have noticed one issue and thought I might report it here. When using OSC in Editor it works as expected, but I am experiencing hang while trying to exit standalone application. In case I disable Event Receiver (and re-compile) I have no issues with app exit - therefore I assume it is related to OscJack. (Tested on Win10 & Unity 2020.1.1f1)

keijiro commented 3 years ago

Thanks for reporting it. Could you provide the log file?

https://docs.unity3d.com/Manual/LogFiles.html

trandzik commented 3 years ago

Sure, but I guess it doesn't contain any useful information. Player.log

trandzik commented 3 years ago

Hi, I just wanted to let you know (in case it might help you somehow) that I have tried to use OscServer class in order to handle incoming messages and disposing via

private void OnApplicationQuit()
{
    server.Dispose();
}

results in expected behavior.

keijiro commented 3 years ago

I can't reproduce this issue on Unity 2020.1.13f1

I'm closing this issue ticket as "not reproducible". Please feel free to reopen it if it still reproduces.