A: Because Unity treats .js files as Unity script and will try to compile it.
A: No. We did support debugging in old versions, but it's very hard to use.
Q: Unity says "DllNotFoundException"?
If you are not on Windows, this is a bug, contact: firstname.lastname@example.org
If you are on Windows:
For Unity editor: copy DLL to unity install directory:
- for 32bit editor: copy Assets/Plugins/x86/mozjs-31.dll to UnityInstallDir/Editor folder
- for 64bit editor: copy Assets/Plugins/x86_64/mozjs-31.dll to UnityInstallDir/Editor folder
For Windows exe: you have to copy(or move) mozjs-31.dll to the folder containing .exe.
Problem still exists? Make sure you have "msvcr110.dll" in "C:\windows\system32". (the dll was built in visual studio 2012). If not, try install microsoft vc2012 runtime.
Q: Does JSBinding package contain full source?
A: Yes. Both C# and C code. Every single line of code is in your hand.
Q: Unity reports 100+ errors
A: Please locate at the first warning or error, that's the real error!
Q: Unity reports warning 'xxx was not found with (with IgnoreNamespace)'
Q: Why overloaded method ends with something like '$$String$$Int'?
Q: Unity reports error 'GenericTypeCache.getMethod(someType, someMethod) failed.'
A: This error may occur when you are tring to run app on iOS with IL2CPP. You may have to add something to Assets/JSBinding/link.xml. For more information, see http://docs.unity3d.com/Manual/iphone-playerSizeOptimization.html.
Q: Errors occur when building for Windows exe / Mac OS bundle / iOS xcode project / Android apk.
The type or namespace name `C' does not exist in the namespace `NS'. Are you missing an assembly reference?
back to: JSBinding / Home