openxrlab / xrfeitoria

OpenXRLab Synthetic Data Rendering Toolbox
https://xrfeitoria.readthedocs.io
Apache License 2.0
244 stars 19 forks source link

How can I use the plugin which published by myself. #39

Open dnqf11 opened 2 months ago

dnqf11 commented 2 months ago

Hello, thanks for your project. I publish my plugin use python -m xrfeitoria.utils.publish_plugins build-unreal ` -u "C:/Program Files/Epic Games/UE_5.3/Engine/Binaries/Win64/UnrealEditor-Cmd.exe"

And I get the plugin image but the plugin download from your project is image

And I run with my plugin, the UE says: image But I am sure, the version is the same. How can I deal with this, thank you.

HaiyiMei commented 2 months ago

Hi @dnqf11, can I get the output of your terminal after running this: python -m xrfeitoria.utils.publish_plugins build-unreal -u "C:/Program Files/Epic Games/UE_5.3/Engine/Binaries/Win64/UnrealEditor-Cmd.exe"

dnqf11 commented 2 months ago

PS C:\Users\Downloads\xrfeitoria> python -m xrfeitoria.utils.publish_plugins -u "C:/Program Files/Epic Games/UE_5.3/Engine/Binaries/Win64/UnrealEditor-Cmd.exe" 2024-09-08 12:42:33 | INFO | Updated "C:\Users\Downloads\xrfeitoria\src\XRFeitoriaBpy__init__.py" with version 0.6.2 2024-09-08 12:42:33 | INFO | Compressed C:\Users\Downloads\xrfeitoria\src\XRFeitoriaBpy => C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaBpy-0.6.2-None-None.zip 2024-09-08 12:42:33 | INFO | Plugin for blender: "C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaBpy-0.6.2-None-None.zip" 2024-09-08 12:42:33 | INFO | Updated "C:\Users\Downloads\xrfeitoria\src\XRFeitoriaUnreal\XRFeitoriaUnreal.uplugin" with version 0.6.2 2024-09-08 12:42:33 | INFO | Compiling plugin for Unreal Engine... Running AutomationTool... Using bundled DotNet SDK version: 6.0.302 Starting AutomationTool... Parsing command line: BuildPlugin -Plugin=C:\Users\Downloads\xrfeitoria\src\XRFeitoriaUnreal\XRFeitoriaUnreal.uplugin -Package=C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows Initializing script modules... Total script module initialization time: 0.17 s. Executing commands... Copying 48 file(s) using max 64 thread(s) Reading plugin from C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows\HostProject\Plugins\XRFeitoriaUnreal\XRFeitoriaUnreal.uplugin... Building plugin for host platforms: Win64 Running: C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\ThirdParty\DotNet\6.0.302\windows\dotnet.exe "C:\Program Files\Epic Games\UE_5.3\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" UnrealEditor Win64 Development -Project="C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows\HostProject\HostProject.uproject" -plugin="C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows\HostProject\Plugins\XRFeitoriaUnreal\XRFeitoriaUnreal.uplugin" -noubtmakefiles -manifest="C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows\HostProject\Saved\Manifest-UnrealEditor-Win64-Development.xml" -nohotreload -log="C:\Users\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+G2024-09-08 12:42:34 | INFO | Compressed C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows => C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows.zip 2024-09-08 12:42:35 | INFO | Compressed C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows => C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Source.zip 2024-09-08 12:42:35 | INFO | Plugin for Unreal5.3: "C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows.zip"

Thanks you and Is this project compatible with UE5.4

HaiyiMei commented 2 months ago

So inside the folder C:\Users\Downloads\xrfeitoria\src\dist\XRFeitoriaUnreal-0.6.2-Unreal5.3-Windows, is there a subfolder called Binaries? Missing of Binaries is usually the reason why UE asks you to rebuild. You have your Visual Studio installed properly, right?

I haven't tested it on UE5.4, in the following days, I will update it to support UE5.4.

dnqf11 commented 2 months ago

OK, and I use Visual Studio Code. Thanks for your reply

HaiyiMei commented 2 months ago

Install Visual Studio and try again. The publishing tool utilizes an unreal tool that relies on Visual Studio.