Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hang on exit with "Experimental (.NET 4.6 Equivalent)" Scripting Runtime Version #3

Open
JeffBail opened this issue Oct 10, 2017 · 0 comments

Comments

@JeffBail
Copy link
Contributor

JeffBail commented Oct 10, 2017

If the Scripting Runtime Version is set to "Experimental (.NET 4.6 Equivalent)" builds will hang up on exit and if you click on the window eventually the "application is not responding" dialog comes up. When run under the Editor the application stops normally. The easy workaround is to call m_process.Kill() instead of m_process.Dispose() in FFMpegLauncher.Dispose(). I tried closing the std streams before Disposing the process, calling Process.WaitForExit and the shutdown tasks from OnApplicationQuit but none of those fixed the issue. Given that this runtime is still labelled experimental it's entirely possible that this is due to a bug in Unity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant