-
Notifications
You must be signed in to change notification settings - Fork 696
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
[EXPERIMENTAL] support for .NET 4.6 runtime. #248
base: master
Are you sure you want to change the base?
Conversation
Still very much struggling with this.... First of all I'm not sure I understand the intent of the patch? It seems to patch a bunch of project files and stuff? Here's my thought process:
(I get some warnings at this point... I'm wondering if this is some kind of Windows<>Mac file compatibility issues and if it is having any effect?)
Then I open the project that uses the webview in Unity (versions tried: 2017.1.1f1, 2017.1.0f3) and double click unity-webview/dist/unity-webview.unitypackage This imports in the patched project into Unity without any complaint. However, if I then try and run the project, I get a hard crash in Unity with the following log output.... Seems strange though and unrelated to the WebView?
Any thoughts or ideas much appreciated! |
@LiamInJapan You don't need to patch the code by yourself. Instead,
then you can find correct binaries under dist/. |
I get the same behaviour (crashes on trying to play a scene with a webview) but different logs. Here's the part I think is relevant:
It still seems odd to me that it's looking for WebView.dylib/so/bundle and so on inside of Unity.app/Contents/Frameworks/Mono/lib/libAssets/Plugins/ |
The issue might be caused by old
|
Still the same errors. These are the exact steps I am taking to use this....
Are you certain it's not a directory pointing issue? Or perhaps I'm missing a step in the install process? It seems very strange that it's looking for non-existent directories:
(There is no /Mono/lib/libAssets/Plugins/WebView.bundle/ nor would I expect there to be... Not in Unity.app anyway... Unless I'm missing some kind of build/install step somewhere) |
I don't know what the real issue is. Could you please try the sample app as I did? If we follow same steps, we should get the same result. |
I get the same result as you with the sample app, But when I try integrating with my project, it fails. I am wondering if I am doing something wrong with how I am doing the install... The other thing I am wondering is, I also can't build my MonoDevelop project now either, and I get 31 errors all similar to this:
And so on... I am wondering if the project can't compile, perhaps WebView files aren't being moved to the right place or something... In any case, it feels like maybe there is some wrong mono version or something... But I get the same issues on two separate macs... |
If there are some obsolete WebView-related files previously installed, it is better to remove them completely at first and confirm the app works without any issue. I guess the MonoDevelop.app issues you described may also occur even without WebView. Those issues won't occur if you don't import WebView files? NET4.6 support in Unity is still experimental, so it might be better to avoid it if possible... |
@LiamInJapan I had the same exact issue as you mentioned in your last comment. I ended up ditching Monodevelop for Visual Studio for Mac (free) since this is going to happen in the next release or so. Problem resolved itself afterward. |
No description provided.