Quantcast
Viewing all articles
Browse latest Browse all 108

External DLL + Unityscript = Not Implemented

I am trying to implement JavaScript modding using [Jurassic](http://jurassic.codeplex.com/), a javascript parser. I can get it working with C#, but not with Unityscript. When i try to run some code, it gives me a "Not Implemented" error. NotImplementedException: The requested feature is not implemented. System.Reflection.Emit.DynamicMethod.GetDynamicILInfo () Jurassic.Compiler.DynamicILGenerator..ctor (System.Reflection.Emit.DynamicMethod dynamicMethod) Jurassic.Library.FunctionBinder.CreateSingleMethodBinder (Int32 argumentCount, Jurassic.Library.FunctionBinderMethod binderMethod) Jurassic.Library.FunctionBinder.CreateBinder (Int32 argumentCount) Jurassic.Library.FunctionBinder.Call (Jurassic.ScriptEngine engine, System.Object thisObject, System.Object[] arguments) Jurassic.Library.ClrFunction.ConstructLateBound (System.Object[] argumentValues) Jurassic.JavaScriptException.CreateError (Jurassic.ScriptEngine engine, System.String name, System.String message) Jurassic.JavaScriptException..ctor (Jurassic.ScriptEngine engine, System.String name, System.String message, Int32 lineNumber, System.String sourcePath) Jurassic.Compiler.Parser.ParseExpression (Jurassic.Compiler.Token[] endTokens) Jurassic.Compiler.Parser.ParseLabelOrExpressionStatement () Jurassic.Compiler.Parser.ParseStatementNoNewContext () Jurassic.Compiler.Parser.ParseStatement () Jurassic.Compiler.Parser.Parse () Jurassic.Compiler.GlobalMethodGenerator.Parse () Jurassic.ScriptEngine.Execute (Jurassic.ScriptSource source) Jurassic.ScriptEngine.Execute (System.String code) ParserTester.Update () (at Assets/ParserTester.js:5) I am using Unity 3.5 with a free license. I have tried calling Jurassic both via `import` and defining a variable, with no success.

Viewing all articles
Browse latest Browse all 108

Trending Articles



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