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

Support native libraries #14

Closed
GlitchEnzo opened this issue Dec 23, 2015 · 2 comments
Closed

Support native libraries #14

GlitchEnzo opened this issue Dec 23, 2015 · 2 comments
Assignees

Comments

@GlitchEnzo
Copy link
Owner

Unity is terrible with it's handling of native DLLs, so this tool must provide some sort of additional support for them.

Unity requires native DLLs to be in the Assets/Plugins directory BUT Unity locks the files and there is no way to get it to release the lock without closing the Editor. This creates complications such as saving any open scene, closing, copying/overwriting whatever DLLs need to be copied, re-opening Unity with whatever scene/project it had open, and continuing with the installation of the packages.

@GlitchEnzo GlitchEnzo changed the title Support native libaries Support native libraries Dec 23, 2015
@GlitchEnzo GlitchEnzo self-assigned this Dec 23, 2015
@GlitchEnzo
Copy link
Owner Author

Since it is the Unity Editor itself that locks the files, it's doubtful that there is any change that can be done to NuGetForUnity to resolve this.

@jwittner
Copy link
Collaborator

jwittner commented Nov 22, 2019

I don't believe the Unity plugin folder is a requirement anymore.

Plugin Inspector: new native plugin importing system. You're no longer required to place platform specific plugins into special folders like Assets/Plugins/iOS, Assets/Plugins/X64, etc. From now on, you can place them anywhere.
You can set platform compatibility settings by clicking on the plugin (files with extensions *.dll, *.so, etc, and folders with extension *.bundle), this include both managed and native files. Plugins can be set for “Any” platform, “Editor only” or a specific platform.
Platform specific settings can also be set, e.g. CPU type. Different platforms may have different settings.

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

2 participants