-
Notifications
You must be signed in to change notification settings - Fork 60
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
DefaultTypePool requires JIT compilation #51
Comments
You can implement |
Just read your issue again, I'm also not sure why |
I have tested some cases with hundreds of complex contours and seem to work fine without any noticeable performance changes |
+1 |
+1
|
I am in this repos for different reasons, but also working in a Unity WebGL project. Have not seen this problem yet, but likely it might be aggressive stripping. Did you try to manually inform the compiler to keep some of the classes? The same can happen if you add a SphereCollider with code only for example. |
I'm compiling the library in a project without JIT compilation.
On an older version everything was working fine but now I'm receiving an exception in DefaultTypePool.Creator.
The Creator is compiling at runtime but without JIT compilation can't work.
Is the Creator needed?
Can't DefaultTypePool.Get() just return new T() ?
The text was updated successfully, but these errors were encountered: