sloopidoopi / Spout4Unity

Spout support for Unity3D
BSD 2-Clause "Simplified" License
138 stars 47 forks source link

Faild to load DLL in Unity5 #3

Closed ghost closed 9 years ago

ghost commented 9 years ago

Failed to load 'Assets/Plugins/x64/NativeSpoutPlugin.dll' with error '找不到指定的模組。 ', GetDllDirectory returned ''. If GetDllDirectory returned non empty path, check that you're using SetDirectoryDll correctly. Spout.SpoutSender:OnDisable() (at Assets/Spout/Scripts/SpoutSender.cs:92) Spout.SpoutSender:OnDisable() (at Assets/Spout/Scripts/SpoutSender.cs:91)

Same Project in Win8.1 is ok!

benkuper commented 9 years ago

You say in 8.1 it's ok, what's OS are you having problem with ? Please be more specific in your issue

picpic1979 commented 9 years ago

I have the same bug ! unity 5.0.2b1 32bits "latest"

Work with 64 bits editor but not 32 bits Do you support 32 bit editor support ?

Windows 7 and 8.1

Failed to load 'Assets/Plugins/x86/NativeSpoutPlugin.dll', expected 32 bit architecture (IMAGE_FILE_MACHINE_I386), but was IMAGE_FILE_MACHINE_AMD64. Spout.Spout:initDebugConsole() (at Assets/Spout/Scripts/Spout.cs:421) Spout.Spout:initDebugConsole() (at Assets/Spout/Scripts/Spout.cs:421) Spout.SpoutSender:OnEnable() (at Assets/Spout/Scripts/SpoutSender.cs:70)

sloopidoopi commented 9 years ago

The problem is that the x86 dll is compiled for x64 platform . I will upload a new version so at least the spoutreceiver will work on x86 (32 bit). There is still a problem with the SpoutSender we have to figure out .

sloopidoopi commented 9 years ago

New version that works on Win 8.1 64bit ATI card is uploaded