xverse-engine / XV3DGS-UEPlugin

A Unreal Engine 5 (UE5) based plugin aiming to provide real-time visulization, management, editing, and scalable hybrid rendering of Guassian Splatting model.
Apache License 2.0
570 stars 74 forks source link

Problem packaging for Android - Failed to cook - UE 5.4 #53

Open b1tdreamer opened 4 months ago

b1tdreamer commented 4 months ago

When trying to make the packaging of the project in UE 5.4, I get an error when cooking the material that prevents me from continuing the process.

UATHelper: Packaging (Android (ASTC)): LogInit: Display: LogCook: Error: [AssetLog] C:\Users+++\Documents\Unreal Projects\MyProjectTry3\Content\XV3dGS\champiCiudadEncantada\champiCiudadEncantada_buffers.uasset: Failed to cook /Game/XV3dGS/champiCiudadEncantada/champiCiudadEncantada_buffers for platform Android_ASTC. It imports class /Script/GSRuntime.GSRuntimeBuffer, which is in a module that is not available on the platform. UATHelper: Packaging (Android (ASTC)): LogInit: Display: LogCook: Error: [AssetLog] C:\Users+++\Documents\Unreal Projects\MyProjectTry3\Content\XV3dGS\champiCiudadEncantada\champiCiudadEncantada.uasset: Failed to cook /Game/XV3dGS/champiCiudadEncantada/champiCiudadEncantada for platform Android_ASTC. It imports class /Script/GSRuntime.GaussianComponent, which is in a module that is not available on the platform.

UATHelper: Packaging (Android (ASTC)): LogInit: Display: LogCook: Error: Content is missing from cook. Source package referenced an object in target package but the target package was marked NeverCook or is not cookable for the target platform. UATHelper: Packaging (Android (ASTC)): Source package: /Game/XV3dGS/champiCiudadEncantada/Crop/croped_xv_ns/croped_xv_ns UATHelper: Packaging (Android (ASTC)): Target package: /XV3dGS/M_GS_unlit UATHelper: Packaging (Android (ASTC)): Referenced object: /XV3dGS/M_GS_unlit.M_GS_unlit

image

To Reproduce

  1. Load a gaussian splatting using the plugin.
  2. Package > Android > ASTC

Expected behavior

Unreal generates an APK of the project

Desktop:

PedroRibot commented 4 months ago

Hello, having the same problem on Android ASTC and UE 5.4

Have tried to build it afterwards on Windows platform and had the same error. Material M_GS_unlit.M_GS_unlit seems to have something inside that does not allow to package.

Cannot get to pinpoint what is not allowing Unreal to build.

FilipeLopesPires commented 2 months ago

Flagging this with hopes XV3DGS brings more stability to Android targets

mrkams1 commented 1 month ago

i would imagine if this does package for android performance is going to be awful