[Python.NET] Python.Net crash on assembly reload in Unity

2018-08-02 Thread Viktoria Kovecses
Hello, We are experiencing crashes when running Python.Net in the Unity 2018.2 game engine. Specifically, after modifying a C# script in Unity, an automatic reload is triggered which results in a crash in Py_Finalize. Here are the repro steps: 0. Make sure to call PythonEngine.Shutdown on domain

[Python.NET] Python.Net crash on assembly reload in Unity

2018-08-02 Thread Viktoria Kovecses
Hello, We are experiencing crashes when running Python.Net in the Unity 2018.2 game engine. Specifically, after modifying a C# script in Unity, an automatic reload is triggered which results in a crash in Py_Finalize. Here are the repro steps: 0. Make sure to call PythonEngine.Shutdown on domain

[Python.NET] Invoking a C# method with a python list

2018-08-02 Thread Mohamed Koubaa
Hello, I am using the 2.3 release branch. I have C# code like this: public class A { public A() {...} } public class B { public B() {...} public static void Func(IEnumerable input){ } } I want to pass in a python list to Func but get this error: >