- Home /
Question by
captureint · Sep 11, 2012 at 01:10 AM ·
c#javascriptjsontypeloadexception
TypeLoadException: Could not load type '' from assembly 'Assembly-UnityScript'.
I am trying to get a C# JSON encoder/decoder (I don't like LitJSON because it won't decode a value into a Hashtable) so I can use the class from javascript, and everything compiles fine but no matter which script I try Unity throws this exception at runtime:
TypeLoadException: Could not load type 'MiniJSON.Json' from assembly 'Assembly-UnityScript'.
I've tried JSON.cs from here: http://wiki.unity3d.com/index.php?title=MoreJSONScripts
MiniJSON from here: https://gist.github.com/1411710
Anyone have any ideas? Is there something I need to change in the C# code to use the class's static functions from Javascript?
Thanks
Comment
Your answer
Follow this Question
Related Questions
Application.ExternalCall Issue 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers