keijiro / Funnel

A Syphon server plugin for Unity
121 stars 17 forks source link

dll not found exception in latest Unity #16

Closed vibber closed 6 years ago

vibber commented 6 years ago

I try to build a vanilla project where I simply added Funnel to a camera. Mac os 10.12.6 Unity 2017.3.1f1

I get a dllnotfound Exception. skaermbillede 2018-02-26 kl 10 30 44

robspaull commented 6 years ago

Hi, Anyone found a fix for this? Just complied my project and got this same error - project is supposed to go live in a week! Yikes!!

keijiro commented 6 years ago

Please make sure that "Auto Graphics API for Mac" in the player settings is disabled and OpenGL is explicitly selected.

vibber commented 6 years ago

Nope, that does not solve the DLLNotFoundException. Testing on a clean project. Syphon works in editor play mode.

On 19 March 2018 at 14:33, Keijiro Takahashi notifications@github.com wrote:

Please make sure that "Auto Graphics API for Mac" in the player settings is disabled and OpenGL is explicitly selected.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/keijiro/Funnel/issues/16#issuecomment-374212600, or mute the thread https://github.com/notifications/unsubscribe-auth/AD179Zk6P8RFUlBgn4yXcd6L3SkJU98Gks5tf7OSgaJpZM4SS7dR .

robspaull commented 6 years ago

Not working for me either :( Just get flashing red screen and errors the console in a dev build. Is it possible to manually place the DLL somewhere?

ioannismihailidis commented 6 years ago

Same error here.

By putting the funnel binary from funnel.bundle/Contents/MacOS into MyApp.app/Contents/Frameworks/MonoEmbedRuntime/osx the not found error is gone. BUT no Syphon server comes up :(

ioannismihailidis commented 6 years ago

Finally its running in Unity 2017.1.3f1. Will test it in the current version asap.

The Funnel bundle is build in x64 only , so your app has to be deployed only for x64 platforms AND the bundle needs the right settings for your standalone app:

ohne titel

pluginsettings

Update: Working in 2017.4 but the funnel.bundle has to be complied for universal architecture.

vibber commented 6 years ago

I am still waiting for a solution in latest Unity (2017.3.1f1).

On 29 March 2018 at 14:06, Ioannis Mihailidis notifications@github.com wrote:

Finally its running in Unity 2017.1.3f1. Will test it in the current version asap.

The Funnel bundle is build in x64 only , so your app has to be deployed only for x64 platforms AND the bundle needs the right settings for your standalone app:

[image: ohne titel] https://user-images.githubusercontent.com/1242010/38087915-496b8d1e-335a-11e8-8b77-dbde895371e7.png

[image: pluginsettings] https://user-images.githubusercontent.com/1242010/38087925-4e424e22-335a-11e8-8085-18ca0517610d.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/keijiro/Funnel/issues/16#issuecomment-377214304, or mute the thread https://github.com/notifications/unsubscribe-auth/AD179W5ulorwnE-GZoFKfY3e9j2MY0tkks5tjM4tgaJpZM4SS7dR .

ioannismihailidis commented 6 years ago

@vibber have you seen my post update?

vibber commented 6 years ago

I see. Any chance you could make the binary available somewhere? I’m a noob when it comes to compiling.

-Vibeke

On 3 April 2018 at 13:43, Ioannis Mihailidis notifications@github.com wrote:

@vibber https://github.com/vibber have you seen my post update?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keijiro/Funnel/issues/16#issuecomment-378221286, or mute the thread https://github.com/notifications/unsubscribe-auth/AD179RCaFwYwP8cvlMrie11LtPBwFN0bks5tk2B9gaJpZM4SS7dR .

ioannismihailidis commented 6 years ago

Funnel.bundle.zip

here you go. Just extract and exchange the .bundle with the one in the funnel/Plugins folder.

vibber commented 6 years ago

I still get the dllNotFoundException in Unity 2017.3.1f1. I can't find 2017.4 anywhere so I don't know if that would work.

vibber commented 6 years ago

OK, so I found the workaround for Unity version 2017.3.1f1. Find the app you compiled, Right click and 'show package contents'. Place the funnel.bundle from the link above from ioannismihailidis in Contents-> Plugins (That is a level above where the bundle is now)

PS: Perhaps someone can tell what to do to make the compiler place the Funnel.bundle in the right place so we don't have to do it manually

keijiro commented 6 years ago

Sorry for not responding earlier. Although the root cause of the problem is still not clear, I've managed to fix the dllNotFoundException problem by updating the .meta file of the plugin bundle. Please try the latest version, and let me know if you still have the same problem.

vibber commented 6 years ago

Works great! Thank you (Unity v 2017.3.f1f)

keijiro commented 6 years ago

Thanks for clarification.