Reloading Assets Breaks Blueprints

  1. Start the UE

  2. I can compile and run my game as expected.

  3. I reload an animation blueprint. (“HumanCharacter” Asset Action → Reload)

  4. Dependent Blueprints can not compile anymore as all relevant class casts are broken

COMPILER ERROR: failed building connection with ‘Human Character Object Reference is not compatible with Human Character Object Reference.’ at Set IsCrouching

[2021.03.23-02.08.46:671][518]LogUObjectGlobals: Warning: ReloadPackage failed to purge the old package ‘/Game/Animation/HumanCharacter_DEADPACKAGE_1’. This is unexpected, and likely means that it was still externally referenced.

  1. Perforce does not observe any file changes.

5A) Restarting the Engine fixes the compiler error

5B) Replacing the broken casts with (seemingly) identical casts fixes the issue

What’s going on here?

1 Like

Same here.

1 Like