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

Unity keeps crashing - workaround #216

Closed
njbmartin opened this issue Dec 9, 2016 · 1 comment
Closed

Unity keeps crashing - workaround #216

njbmartin opened this issue Dec 9, 2016 · 1 comment

Comments

@njbmartin
Copy link

It's been an issue for some time in which the Unity Editor will randomly crash when using the plugin.

we're still encountering crashes occasionally, usually after a code recompile when Unity attempts to refresh plugins

It seems the plugin gets initialised when you play a Chroma enabled scene in the editor, but stopping the scene will not uninitialise it as the application doesn't actually quit.

As a workaround, and possibly the only solution to the problem, is to manually unitialise onApplicationQuit.

    void OnApplicationQuit()
    {
        Chroma.Instance.Uninitialize(); 
    }

I'll try and see if the Unity engineers can look into it further, but may require sending them hardware.

@Sharparam
Copy link
Member

I'll close this as the listed workaround seems simple enough to implement. If there's any new info on this, feel free to re-open.

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

No branches or pull requests

2 participants