20tab / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
2.77k stars 753 forks source link

Using UnrealEngine Python with 'Beta' Unreal Python #550

Open infernalspawn opened 6 years ago

infernalspawn commented 6 years ago

Hi,

i have been trying to use both your UnrealEnginePython and Epics UnrealPython in conjunction, (reason is that we wanna use SG which needs the Unreal Python)

Im an getting constant crashes on load of the project, so I rebuild UnrealEnginePython with the Python-version shipped with Unreal but the crashes are still happening. The last thing the crashlog mentions its the attempt to load 'ue_site'

Python Scripts search path: ../../../../../unrealprojects/Compile20Tab/Content/Scripts
Python Scripts search path: ../../../../../unrealprojects/Compile20Tab/Plugins/UnrealEnginePython
Python VM initialized: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]
No module named ue_site

Is this a known problem or is this supposed to work ?

Thank you!

rdeioris commented 6 years ago

Hi, it cannot work because both VMs will try to re-initialize on startup. We can eventually improve the plugin to cooperate with the epic one, but at the current stage the epic one does not offer any feature more than UnrealEnginePython. Sorry, but what is SG ?

infernalspawn commented 6 years ago

Hi @rdeioris, SG = Shotgun - Integration, for our project we are using Shotgun to manage assets, and so it we like to use it as it would mean for us to not write another integration.

rdeioris commented 6 years ago

Hi, i have just made some quick test and it looks like if you se python3 for UnrealEnginePython they should work together as the Beta plugin uses 2.7

infernalspawn commented 6 years ago

Hi @rdeioris, thank you for looking into this. what are the chances to get it to work with python27 ? Unfortunately we are tied to 2.7 due to the VFX-Platform environment we are in.

rdeioris commented 6 years ago

Hi, in addition to features i personally need, i am currently including only sponsored/funded features, unfortunately there are still no news from Epic on how to have the two projects to collaborate (and i am not very optimistic about it). If some customer/supporter of the project will ask for python2.7 cooperation i will update this ticket for sure.