Quantcast
Channel: Questions in topic: "exception"
Viewing all articles
Browse latest Browse all 470

IronPython will fail on Unity 2017.2.0f3

$
0
0
Hello Everyone. I am running IronPython on Unity. Although it was working on version 2017.1.2f1 or earlier, an error occurs on version 2017.2.0f3. This is Python script. import clr clr.AddReference("UnityEngine") import UnityEngine UnityEngine.Debug.Log("Test message from Python.") This is the error message. ImportException: No module named UnityEngine Microsoft.Scripting.Runtime.LightExceptions.ThrowException (Microsoft.Scripting.Runtime.LightException lightEx) Microsoft.Scripting.Runtime.LightExceptions.CheckAndThrow (System.Object value) Microsoft.Scripting.Interpreter.FuncCallInstruction`2[System.Object,System.Object].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) Your help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 470

Trending Articles



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