Knowledge base
Search Blueprint patterns
Searching…
Knowledge base
Why: '{a}' includes '{b}' as a hard reference, AND '{b}' includes '{a}' as a hard reference. UE5 can't compile either one first without the other already being compiled.
Fix: Break the cycle by making ONE side use a SOFT reference (TSoftObjectPtr). Pick the side that doesn't need {b} immediately at construction — change the variable type to 'Soft Object Reference' instead of 'Object Reference'. Use Load Asset to resolve it at runtime.