Skip to content
This repository has been archived by the owner on Dec 27, 2018. It is now read-only.

You must recompile your plugin for x64 arquitecture? #1

Closed
ArsLucidum opened this issue Jun 21, 2017 · 2 comments
Closed

You must recompile your plugin for x64 arquitecture? #1

ArsLucidum opened this issue Jun 21, 2017 · 2 comments
Assignees
Labels

Comments

@ArsLucidum
Copy link

Hi, I'm having trouble with the wrapper. Unity gives me the following error:

Failed to load 'Assets/nfd/Plugins/x86_64/nfd.dll', expected x64 architecture, but was x86 architecture. You must recompile your plugin for x64 architecture.
nfd.NativeFileDialog:OpenDialog(String, String, String&) (at Assets/nfd/Scripts/nfd/NativeFileDialog.cs:42)
nfd.NativeFileDialog:OpenDialog(String, String, String&) (at Assets/nfd/Scripts/nfd/NativeFileDialog.cs:28)
nfd.FileDialog:Show() (at Assets/nfd/Scripts/nfd/FileDialog.cs:37)
UnityEngine.EventSystems.EventSystem:Update()

I don't know why the problem arises, since it appears to be using the correct path for the x64 version. Any idea?

If the library happens to be wrong, is there any way where I can download it in binary form?

@doitian
Copy link
Owner

doitian commented Jun 22, 2017

I miss the arch in build script. The DLL has been recompiled.

@ArsLucidum
Copy link
Author

@doitian Thanks for the quick reply! It works perfectly now.

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

No branches or pull requests

2 participants