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
Convert clr type System.MonoType error #165
Comments
Hey @xanathar any help about it!? =) |
No idea, and with this little context I can't be more of help. What script code was executing at the time ? What types was it trying to convert ? |
Hi Xanathar Basically we did the tutorial with LUA, which accesses C# classes. We guess that Apple doesn't like that in release mode, because without that, LUA is perfectly working. Thanks! |
We seem to be having similar weird issues in release mode (we can't reproduce on our workstation (debug mode)). For us it has to do with Enums and Guids (error for guid below) at the moment. It looks like it's sometimes not registering them properly or something. We had to pre create int versions of our enums because comparing them to an int in a LUA script would randomly fail, however it just work after we have changed the script? We are using InteropAccessMode.Reflection. Any thoughts as to why this could be happening @xanathar ??
|
Update |
fuck ios release mode! this issue killed me so much time |
What do you mean by it not working in the app store? if you build on unity using "Run in XCode" as Release, and with Development Build unchecked, does it fail? or does it only fail after its been uploaded to apple? |
Yes, in our case it works perfectly until you upload it. Then you download de app with TestFlight and it doesn't work. Basically we had to move the tutorial code from LUA to C#. Our intention was to update the tutorial without updating the app, but it couldn't be. |
Wow, thats bad, we are using moonsharp as a scripting system for quests, dialogs, etc and finding out that nothing works when we upload it would be really really horrible. |
No, we couldn't find the problem. Our Unity devs prepared a toolkit to manage a game tutorial with LUA but it didn't work after uploading to Apple. |
I am happy to report that at least with moonsharp 2 and Unity 5.5.2p1 we were able to upload a build of our app to testflight and use internal testing to download it and everything worked fine. Not sure if there is something with older versions that was a problem, or if there is some special case that is not supported and we just aren't using that feature. |
Just for reference also: |
Based on comment, considered closed. |
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?
The text was updated successfully, but these errors were encountered: