VRGroupRWTH / VTKPlugin

A plugin that downloads, builds, installs and links VTK to UE.
BSD 3-Clause "New" or "Revised" License
11 stars 4 forks source link

Cooking and Packaging errors #3

Open QTM3 opened 2 months ago

QTM3 commented 2 months ago

Hi, I installed it and it works when I play in the Editor. I am able to use DistanceBetweenTwoPoints and that works. The problem is whenever I try to make a standalone package it fails. This happens both on Cook and Package in Shipping mode. I'm using UE 5.3.2. I get the following log

UATHelper: Packaging (Windows): LogInit: Display: Warning/Error Summary (Unique only) UATHelper: Packaging (Windows): LogInit: Display: ----------------------------------- UATHelper: Packaging (Windows): LogInit: Display: LogTemp: Error: [VtkPlugin] VTK is currently NOT delayloaded on Windows, as this causes UE to crash (dlls are available directly at runtime). UATHelper: Packaging (Windows): LogInit: Display: LogTemp: Warning: [VtkPlugin] Delay-loading VTK module... UATHelper: Packaging (Windows): LogInit: Display: LogTemp: Warning: [VtkPlugin] 0 VTK libraries delay-loaded! UATHelper: Packaging (Windows): LogInit: Display: UATHelper: Packaging (Windows): LogInit: Display: Failure - 1 error(s), 2 warning(s) UATHelper: Packaging (Windows): LogInit: Display: UATHelper: Packaging (Windows): Execution of commandlet took: 12.46 seconds UATHelper: Packaging (Windows): LogShaderCompilers: Display: ================================================ UATHelper: Packaging (Windows): LogShaderCompilers: Display: === FShaderJobCache stats === UATHelper: Packaging (Windows): LogShaderCompilers: Display: Total job queries 0, among them cache hits 0 (0.00%) UATHelper: Packaging (Windows): LogShaderCompilers: Display: Tracking 0 distinct input hashes that result in 0 distinct outputs (0.00%) UATHelper: Packaging (Windows): LogShaderCompilers: Display: RAM used: 240.00 B of 819.20 MiB budget. Usage: 0.00% UATHelper: Packaging (Windows): LogShaderCompilers: Display: === Shader Compilation stats === UATHelper: Packaging (Windows): LogShaderCompilers: Display: Shaders Compiled: 0 UATHelper: Packaging (Windows): LogShaderCompilers: Display: Jobs assigned 0, completed 0 (0%) UATHelper: Packaging (Windows): LogShaderCompilers: Display: Time at least one job was in flight (either pending or executed): 0.00 s UATHelper: Packaging (Windows): LogShaderCompilers: Display: ================================================ UATHelper: Packaging (Windows): LogTemp: Error: [VtkPlugin] Not freeing dlls on Windows because dlls are not delay-loaded & this additionally generates a crash on shutdown (with debugger attached). UATHelper: Packaging (Windows): Took 20.04s to run UnrealEditor-Cmd.exe, ExitCode=1 UATHelper: Packaging (Windows): Cook failed. UATHelper: Packaging (Windows): (see C:\Users\Pawan\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+UE_5.3\Log.txt for full exception trace) UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 40s UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure) UATHelper: Packaging (Windows): BUILD FAILED PackagingResults: Error: Unknown Cook Failure

I see the errors of delay-loading popping up from VTK-Library but is there any way to create a standalone package. Any help would be appreciated. Thanks.

QTM3 commented 1 month ago

I tried cooking with an empty project. Simply enabling the plugin gives above mentioned errors. Disabling it works for both cooking and packaging for all configurations. I cannot seem to create a standalone package with the plugin enabled. Any help would be appreciated in fixing this bug. Thanks in advance.