-
Start the UE
-
I can compile and run my game as expected.
-
I reload an animation blueprint. (“HumanCharacter” Asset Action → Reload)
-
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.
- 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?