Question by
carlosbeneyto · Nov 14, 2016 at 02:38 PM ·
erroriosintegrationreleasedevelopment build
Moonsharp unity error > Cannot convert clr type
Hi everyone!
We are using Moonsharp Asset in our new game.
On Android works well. However in iOS in the DEV version there are no problems, but in the RELEASE version it does not run correctly.
We have the following error:
"ScriptRunTimeException: Can not convert clr type System.MonoType"
I repeat. We only get that error once it is released to the iTunes Store, not in Dev mode.
Any solution?
Comment
Answer by mgear · May 18, 2017 at 02:22 AM
For later reference, need to add custom converters for unknown types: https://groups.google.com/forum/#!topic/moonsharp/On6dhfrpn1A
i've copied the code here also, if that groups page disappears https://gist.github.com/unitycoder/fc656e639500de43cec8b08ee5e287a5
see also, http://www.moonsharp.org/mapping.html