OpenPype icon indicating copy to clipboard operation
OpenPype copied to clipboard

Unreal: decouple UIs to separate process

Open simonebarbieri opened this issue 3 years ago • 1 comments

Brief description

Run unreal commands from OP through websocket communication.

Description

UE has the ability to have its python to be called remotely. This PR allow us to run all UIs as separete processes that are comunicating with UE. We'll no longer need to install PySide2 to Unreal.

simonebarbieri avatar Nov 07 '22 12:11 simonebarbieri

launcher works as expected to launch Unreal with AYON image

But the Unreal can't open the ayon publisher as it hits the Attribute Error.

LogPython: Warning: Ayon: showing tools popup
LogScript: Error: Script Msg: Traceback (most recent call last):
  File "C:/Program Files/Epic Games/UE_5.1/Engine/Plugins/Marketplace/Ayon/Content/Python/init_unreal.py", line 24, in RunInPython_Popup
    ayon_host.show_tools_popup()
AttributeError: 'UnrealHost' object has no attribute 'show_tools_popup'
LogScript: Error: Script call stack:
    /Engine/PythonTypes.AyonIntegration.RunInPython_Popup

The detail log command from UE shown below: Unreal_LOG.txt

moonyuet avatar Sep 25 '23 09:09 moonyuet

This will be implemented only for AYON.

antirotor avatar Jun 12 '24 14:06 antirotor