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

Crashes with Unity 2019.3 #2

Open
Superbelko opened this issue Apr 3, 2020 · 1 comment
Open

Crashes with Unity 2019.3 #2

Superbelko opened this issue Apr 3, 2020 · 1 comment

Comments

@Superbelko
Copy link
Owner

Using LDC compiler the crash happens on plugin unload, exact reason is not yet tracked.

With dmd it crashes on play, seems like ABI changes.

@Superbelko
Copy link
Owner Author

At this point I've already spent too much time, fixing this will require thorough investigation.

One of my initial guesses was generics inflation mechanism, though fitting "proper" calls just breaks it further.
Another guess was more aggressive collection done by Unity team, though using proper GCHandle's instead of relying on conservative GC didn't helped (except maybe for fixing random startup crashes introduced with that version as well, though I've not tracked that specifically).

Also tried moving to my .NET Core host support library instead of using Mono API. Unfortunately Mono vs. .NET Core uses different ABI rules and marshaling capabilities, and at this point I just can't spend that much time adding support for that.

So this makes it likely a "won't fix" issue.

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