#NOT A OHDCORE SPECIFIC CRASH PER SAY///FIX FOUND Could not find SuperStruct CRASH

11 messages · Page 1 of 1 (latest)

tacit hearth
#

Frequency: Often
Repro steps:

  1. new fresh Child Bp_HDHUD
  2. override "Equipment Add Items from Loadout"
  3. set it up in world setting, compile
    Outcome:
    [2022.12.22-12.16.46:496][ 0]LogStreaming: Error: ****DumpDependencies [Dependencies]:
    [2022.12.22-12.16.46:496][ 0]LogStreaming: Error: Export 1 /OHD_KOTH/Core/BP_HDHUD_Child.BP_HDHUD_Child_C:Equipment Add Items from Loadout
    [2022.12.22-12.16.46:497][ 0]LogStreaming: Error: Linker is ../../Mods/OHD_KOTH/Content/Core/BP_HDHUD_Child.uasset
    [2022.12.22-12.16.46:498][ 0]LogStreaming: Error: Dep S_BEFORE_S Import 15 /HDCore/Core/BP_HDHUDBase.BP_HDHUDBase_C:Equipment Add Items from Loadout
    [2022.12.22-12.16.46:501][ 0]LogStreaming: Error: Dep C_BEFORE_C Import 15 /HDCore/Core/BP_HDHUDBase.BP_HDHUDBase_C:Equipment Add Items from Loadout
    [2022.12.22-12.16.46:502][ 0]LogStreaming: Error: Missing Dependency, request for /HDCore/Core/BP_HDHUDBase.BP_HDHUDBase_C:Equipment Add Items from Loadout but it hasn't been created yet.
    [2022.12.22-12.16.46:502][ 0]LogWindows: Windows GetLastError: The operation completed successfully. (0)
    [2022.12.22-12.16.46:702][ 0]LogWindows: Error: === Critical error: ===
    [2022.12.22-12.16.46:703][ 0]LogWindows: Error:
    [2022.12.22-12.16.46:704][ 0]LogWindows: Error: Fatal error: [File:Unknown] [Line: 3126]
    [2022.12.22-12.16.46:704][ 0]LogWindows: Error: Could not find SuperStruct Equipment Add Items from Loadout to create Equipment Add Items from Loadout

Workaround:
-Verify SDK files
-Remove the problematic function
-Reparent the BP to another BP in the inheritance chain
-Redo the override of the function

Screenshots/Video:
SDK version:SDK version:0.10.5.1

#

it happened before for this exact same function, and i fixed by reparenting to another BP in the chain, then back to HDHUD
it fixed it,
happened again for BP_HDPlayerControllerBase_C:Load Deploy Menu
fixed it same way
Now happening a third time, cant seem to fix it the same way, and now even a fresh child is crashing

#

Made an empty Child of Bp_HDHUD
not overriding the function, no crash

tacit hearth
#

❌ i marked it as that since ive found a workaround, ill leave it here so people can find it
and i dont think it's really a bug caused by OHD's code, but rather the update process and somewhere it fucks up something in existing BP and overriden function dont get updated properly

terse robin
#

This is where you are adding modded equipment to the HUD correct?

If I am reading correctly you originally use Bp_HDHUD as a parent, but the workaround is using another blueprint, potentially further up the inheritance chain?

For this to work, it is required to inherit correct?

I was thinking because I encountered HUD issues and made a new HUD element altogether, I was wondering if that was related at all.

tacit hearth
#

as i said, i found what the problem was , and only kept this here to reference in the future if anyone has the same problem

my bad forgot to mention the workaround 😄
Re explained it down there ⬇️

nvm i did mention it in the workaround in the first post

#

My problem was only after an update , where a OHD vanilla BP was changed somehow, and my child of it was confused by an overriden event.
had to reparent it to something in the inheritance chain( so i wouldnt loose data/ code) and then reparent back to the correct BP

#

but , the step i had forgotten was to verify SDK files

#

so it would get clean OHD vanilla files

#

for some reason , maybe the update didnt apply correctly , or smth weird happening in my BP wasnt updated correctly 🤷‍♂️

terse robin
#

Got it, thanks, I expected stuff like this and it may help down the road - and I agree, it's not certain but anytime anything like it goes wrong I'm doing this lol