Description
I'm trying to upgrade from Unity 5.5.3p3 to 2017.1f03. The WebView plugin is not working in the Unity Editor when running on my macOS machine. I receive this error in the console:
Couldn't open /Users/adam/dev/game/Client/Assets/Plugins/WebView.bundle/Contents/MacOS/WebView, error: dlopen(/Users/adam/dev/game/Client/Assets/Plugins/WebView.bundle/Contents/MacOS/WebView, 2): Library not loaded: @executable_path/../Frameworks/MonoEmbedRuntime/osx/libmono.0.dylib
Referenced from: /Users/adam/dev/game/Client/Assets/Plugins/WebView.bundle/Contents/MacOS/WebView
Reason: image not found
One thing I've noticed is that Unity changed the location of the libmono.0.dylib
file between 5.5 and 2017.1 (not sure about 5.6). Whereas before it was located in Unity.app/Contents/Frameworks/MonoEmbedRuntime/osx
, it's now in Unity.app/Contents/Frameworks/Mono/MonoEmbedRuntime/osx
, presumably to support the upgraded Mono engine work they're performing (there's also a MonoBleedingEdge
directory as a sibling to the Mono
directory).
I'm not sure if this is a Unity bug or something you can fix with your plugin but wanted to bring it up here. I'll also be filing a Unity bug just in case.