Error This blueprint (self) is not a PLACEHOLDER-CLASS

What does this mean? Why am I getting it? Disappointed that there isn’t really any documentation on these errors. I have this same function working in a sibling class without any errors yet for some reason every time I start the editor this connection breaks.

What is a placeholder? Where do I set it? Where do I change it? The HealthBar in question is a User Widget component. It shouldn’t be a placeholder since its part of the actor. Why can I successfully cast to it once I reconnect this? I’ve seen a lot of talk about circular dependencies about this, but I can’t find anything that this function is dependent on, everything in this image is self contained in the actor its in or its parent.

Any help would be greatly appreciated. Worried I’ll have to wait till UE 14 for this to get resolved, can’t find anything about it in UE 13.

PLACEHOLDER_CLASS is nothing else than a placeholder String where USUALLY the actual class should be filled in for the error message.

So, the actual problem is that the connection between your CAST and the function itself breaks, right?
Does, by any chance, the Update percent function do anything with the class you are having this blueprints in (since this would then be a circular dependency)?

Also, is there anything in the message log that may provide additional information when this breaks?

Thank you for your response.

I’m going to try to explain their relationship for you and for myself. I have a blueprint called bsEnemy. In that blueprint there is a Widget Component on it with the class bsWidget_Enemy_HealthBar. When bsEnemy takes damage it calls a function ‘UpdateHealth’ to tell the Widget to update its health bar to the new percent. HealthBar Widget isn’t doing anything itself to the bsEnemy other than being a component of it.

I think that’s the extent of it. If there is a circular dependency I either don’t grok it all quite yet or I’m just blind to it :frowning:

But, I do want to thank you. I hadn’t been in the habit of checking the logs for the editor, only really in PIE. When I looked after restarting the editor and opening the bsEnemy blueprint that breakage is occurring in I saw these warnings. I guess I have my assignment for today! Sift through these bad boys.

See next comment.

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘DefaultSceneRoot’ for ‘FreezeRadius’ in BlueprintGeneratedClass ‘REINST_bsEnemy_Item_Freezer_C_68’ (it may have been removed)

Warning: [bsBall_Enemy] CreatePinForVariable: ‘HealthBarPercent’ variable not found. Base class was probably changed.

Warning: [bsBall_Enemy] CreatePinForVariable: ‘HealthBarPercent’ variable not found. Base class was probably changed.

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Arrow’ for ‘NavMode’ in BlueprintGeneratedClass ‘REINST_bsBall_Enemy_C_92’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Arrow’ for ‘EnemyItem1’ in BlueprintGeneratedClass ‘REINST_bsBall_Enemy_C_92’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Arrow’ for ‘EnemyItem2’ in BlueprintGeneratedClass ‘REINST_bsBall_Enemy_C_92’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Arrow’ for ‘EnemyItem3’ in BlueprintGeneratedClass ‘REINST_bsBall_Enemy_C_92’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Arrow’ for ‘EnemyItem4’ in BlueprintGeneratedClass ‘REINST_bsBall_Enemy_C_92’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Arrow’ for ‘EnemyItem5’ in BlueprintGeneratedClass ‘REINST_bsBall_Enemy_C_92’ (it may have been removed)

Warning: Compiler Warning Can’t connect pins Object and Hit Actor : This cast has an invalid target type (was the class deleted without a redirect?).

Warning: Compiler Warning Can’t connect pins Hit Actor and Object : This cast has an invalid target type (was the class deleted without a redirect?).

Error: Compiler Error This blueprint (self) is not a PLACEHOLDER-CLASS__bsWidget_Enemy_HealthBar_C_0, therefore ’ Target ’ must have a connection.

Error: Compiler Error Variable node Set HealthBarPercent uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.

Error: Compiler Error The property associated with Health Bar Percent could not be found

Warning: Compiler Warning [0056.39] Compile of bsBall_Enemy failed. 3 Fatal Issue(s) 2 Warning(s) [in 22 ms] (/Game/RollingBP/Blueprints/bsBall_Enemy.bsBall_Enemy)

Warning: Compiler Warning [0056.39] Compile of bsBall_Enemy failed. 3 Fatal Issue(s) 3 Warning(s) [in 1 ms] (/Game/RollingBP/Blueprints/bsBall_Enemy.bsBall_Enemy)

Warning: Compiler Warning [0056.39] Compile of bsBall_Enemy failed. 3 Fatal Issue(s) 4 Warning(s) [in 0 ms] (/Game/RollingBP/Blueprints/bsBall_Enemy.bsBall_Enemy)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Mesh’ for ‘MagneticRadius’ in BlueprintGeneratedClass ‘REINST_bsActor_SpaceMine_C_105’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Mesh’ for ‘TriggerRadius’ in BlueprintGeneratedClass ‘REINST_bsActor_SpaceMine_C_105’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Scene’ for ‘SpawnRadius’ in BlueprintGeneratedClass ‘REINST_bsItem_SpaceMine_C_108’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Scene’ for ‘Guide’ in BlueprintGeneratedClass ‘REINST_bsItem_Laser_C_111’ (it may have been removed)

Warning: USimpleConstructionScript::FixupRootNodeParentReferences() - Couldn’t find inherited parent component ‘Scene’ for ‘Arrow’ in BlueprintGeneratedClass ‘REINST_bsItem_Laser_C_111’ (it may have been removed)

Error: CDO for class /Game/RollingBP/Blueprints/bsBall_Enemy.bsBall_Enemy_C did not load!