Missing dependency and missing package log spam

Hello there,

We’re hitting strange log spam in our Lyra-based game, specifically in our world partition maps seemingly related to all objects that inherit from the same class. That actor contains:

`UPROPERTY(BlueprintReadOnly, Category = “Hooligan|Ability”)
TObjectPtr CombatSet;

UPROPERTY(BlueprintReadOnly, Category = “Hooligan|Ability”)
TObjectPtr HealthSet;`Everything seems to work as intended however we get spammed with warnings and errors:

LogStreaming: Error: CreateExport: /HOOLMaps/Maps/Hooliland/HoolilandMap_WP/_Generated_/7WAMS3YH3CJK7GQL9Z4FJYXA5 (0x5E8B8184658F80E0) /HOOLMaps/Maps/Hooliland/HoolilandMap_WP/_Generated_/7WAMS3YH3CJK7GQL9Z4FJYXA5 (0x5E8B8184658F80E0) - Could not find template object for HealthSet LogStreaming: Warning: Missing Dependency, missing package import 0xC100000320 for package /HOOLMaps/Maps/Hooliland/HoolilandMap_WP/_Generated_/7WAMS3YH3CJK7GQL9Z4FJYXA5 LogStreaming: Warning: CreateExport: /HOOLMaps/Maps/Hooliland/HoolilandMap_WP/_Generated_/7WAMS3YH3CJK7GQL9Z4FJYXA5 (0x5E8B8184658F80E0) /HOOLMaps/Maps/Hooliland/HoolilandMap_WP/_Generated_/7WAMS3YH3CJK7GQL9Z4FJYXA5 (0x5E8B8184658F80E0) - Skipped failed export HealthSetand it repeats many times for the same object (and others), both with HealthSet and CombatSet. It’s not clear what actually caused this and I believe these subobjects get created at runtime so there’s no actual asset that I can find and looking at the actors themselves I can’t find anything wrong in the Blueprints so we have no idea what’s causing this.

It’s good to note that some of the logs do contain actual assets and not just pointing to some runtime generated asset:

LogStreaming: Error: CreateExport: /HOOLCore/Destructibles/Benches/BPs/B_Wooden_Bench_006_1_Child (0x572AFE39AA532B54) /HOOLCore/Destructibles/Benches/BPs/B_Wooden_Bench_006_1_Child (0x572AFE39AA532B54) - Could not find template object for HealthSet LogStreaming: Warning: CreateExport: /HOOLCore/Destructibles/Benches/BPs/B_Wooden_Bench_006_1_Child (0x572AFE39AA532B54) /HOOLCore/Destructibles/Benches/BPs/B_Wooden_Bench_006_1_Child (0x572AFE39AA532B54) - Skipped failed export CombatSet LogStreaming: Warning: CreateExport: /HOOLCore/Destructibles/Benches/BPs/B_Wooden_Bench_006_1_Child (0x572AFE39AA532B54) /HOOLCore/Destructibles/Benches/BPs/B_Wooden_Bench_006_1_Child (0x572AFE39AA532B54) - Skipped failed export HealthSetLooking into these assets themselves doesn’t reveal anything of note either. One more piece of info is we’ve also discovered this only happens in packaged builds, not in -game. We’re at the point where we’re out of ideas on what could be causing this. Any help would be greatly appreciated, thank you so much!

Best,

Charles

I believe I’ve solved this actually after scouring existing threads, the solution was [Content removed] and I cherry-picked the fix from 5.6 into our 5.4 source build.

Hey Charles, I fixed the bug in the thread you linked. I’m glad you found that and that it seems to have fixed your issues.

As for why the bug only happened in packaged builds, my first thought is that the packaging process could involve duplicating some blueprint assets which could trigger UE-273844. That’s a loose theory but if cherrypicking the fix solved your issue, it gives some credibility to it. Glad to hear it’s fixed though! I’ll close this.