RoflanTsar
RoflanTsar
> Just double checked on my system and the Project Acoustics marketplace plugin worked on a blank project in 5.0.3. > > One thing I'm curious for you to try...
Could not get more info other than this ``` python39!_PyImport_LoadDynamicModuleWithSpec() [D:\_w\1\s\Python\importdl.c:165] python39!_imp_create_dynamic_impl() [D:\_w\1\s\Python\import.c:2302] python39!_imp_create_dynamic() [D:\_w\1\s\Python\clinic\import.c.h:330] python39!cfunction_vectorcall_FASTCALL() [D:\_w\1\s\Objects\methodobject.c:430] python39!PyVectorcall_Call() [D:\_w\1\s\Objects\call.c:248] python39!_PyObject_Call() [D:\_w\1\s\Objects\call.c:287] python39!do_call_core() [D:\_w\1\s\Python\ceval.c:5095] python39!_PyEval_EvalFrameDefault() [D:\_w\1\s\Python\ceval.c:3581] python39!_PyEval_EvalCode() [D:\_w\1\s\Python\ceval.c:4327] python39!_PyFunction_Vectorcall() [D:\_w\1\s\Objects\call.c:396] python39!_PyEval_EvalFrameDefault()...
.NET Framework 4-4.6, SDK 5.0.410 Windows 10 Pro 19044.1826
> Hi @RoflanTsar. We need to try to get more information on your errors. > > First I want to try running our plugin's Python code in Unreal without loading...
> import sys > print(sys.version) > print(sys.flags) > print(sys.getwindowsversion().platform_version) > print(sys.modules) ``` LogPython: import sys LogPython: print(sys.version) LogPython: 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] LogPython:...
> C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64>**python -m ensurepip** ``` C:\Program Files\Epic Games\UE_5.0\Engine\Binaries\ThirdParty\Python3\Win64>python -m ensurepip Looking in links: c:\Users\123\AppData\Local\Temp\tmpbfex4lni Requirement already satisfied: setuptools in c:\program files\epic games\ue_5.0\engine\binaries\thirdparty\python3\win64\lib\site-packages (57.4.0) Requirement already satisfied: pip in...
Unhandled Exception: System.InvalidProgramException: Common Language Runtime detected an invalid program. at clrModule.PyInit_clr()
> Python 3.7.7 was successful. > > But in UE5.0.3, it became Python 3.9.7, and it seems to fail. can confirm, in UE 4.27 (python 3.7.7) "import clr" doesn't crash.
> import datetime > datetime_object = datetime.datetime.now() > print(datetime_object) This worked - > pip install --force-reinstall pythonnet This didn't help. Then i tried to **import clr** in standalone python 3.9.7...
Alright, i reinstalled UE5 and Visual Studio. This time python in UE didn't have CLR module at all - so i had to manually install it. I have no idea...