Quantcast
Channel: Questions in topic: "dllnotfoundexception"
Viewing all articles
Browse latest Browse all 201

Unity plugin setting issue: DllNotFoundException

$
0
0
Hi, I felt embarrassed to ask this question. But after trying 1 week googling and try/error, I also found that there is no one encounter this issue. So, I hope to collect some thoughts about why it happen and how to solve this. I am trying to rebuild plugin on MacOSX only. For some reasons, the 2 basic Unity plugin samples (SimplestPluginExample, RenderingPluginExample45) doesn't work after building on Xcode. The runtime error message is all about "DllNotFoundException". Without mentioning, it also fail for the new functions I created following exact same syntax on both head, C++ (Xcode) and C# (Unity). Here is what I did before building sample: 1. Change "Architecture" to Universal(32/64bit) in Xcode Build Setting. 2. Change "BaseSDK" to Lastest OSX 3. (Only for RenderingPluginExample45) Add #include in c++ 4. Build project, and copy/replace the .bundle file to the Unity Asset/Plugins folder I am runing Unity 4.6.1, Xcode 6.1.1, MacOSX 10.10.1 Can anyone show me how you create a plugin from scratch, or add new function in this sample project? http://docs.unity3d.com/Manual/PluginsForDesktop.html Thanks a lot.

Viewing all articles
Browse latest Browse all 201

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>