# Variable default value set to PLACEHOLDER-CLASS

**URL:** <https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [June 20, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428 "2016-06-20T13:34:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adipFTW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adipFTW](https://forums.unrealengine.com/u/adipFTW)\
**Post date:** [June 20, 2016, 1:34pm UTC](https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428/1 "2016-06-20T13:34:23Z")

</div>

After restarting the editor, the default value my variable ‘Projectile’ gets set to PLACEHOLDER-CLASS:

[http://puu.sh/pzp3a/96a3fd32fd.png](http://puu.sh/pzp3a/96a3fd32fd.png)

The dropdown menu for the default value does not show any of the blueprints from the BP Base Projectile class. As a workaround I have to delete the variable and recreate it, but that only lasts till I restart the editor. I also tried deleting all involved blueprints and remaking them from scratch, which worked for a few days, but now it’s back… This whole problem comes with a handled error, which you can see in [this log][2].

---

<div class="post-metadata">

**Author:** ![adipFTW](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@adipFTW](https://forums.unrealengine.com/u/adipFTW)\
**Post date:** [June 23, 2016, 8:20am UTC](https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428/2 "2016-06-23T08:20:07Z")

</div>

Additionally, I just noticed that the checkboxes ‘Replicates’ and ‘Replicate Movement’ become unticked when restarting.

---

<div class="post-metadata">

**Author:** ![Light\_Shock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/light_shock/32/1194530_2.png) [@Light\_Shock](https://forums.unrealengine.com/u/Light_Shock)\
**Post date:** [November 29, 2024, 4:51pm UTC](https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428/3 "2024-11-29T16:51:35Z")

</div>

I’ve just got this problem migrating a project form 5.4 to 5.5 - happened to just one Actor but is persisting as you describe here. Did you ever figure out what was going on ?

---

<div class="post-metadata">

**Author:** ![Light\_Shock](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/light_shock/32/1194530_2.png) [@Light\_Shock](https://forums.unrealengine.com/u/Light_Shock)\
**Post date:** [November 30, 2024, 2:14pm UTC](https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428/4 "2024-11-30T14:14:51Z")

</div>

So for those finding this. I’m not sure of the exact cause but I solved it by removing the references to the player controller and another object that had a lot of referenced from it. My suspicion is that if you have a circular dependency over a certain depth that the migrator can not resolve the actual dependency an you are left with the placeholder.

---

<div class="post-metadata">

**Author:** ![Selzier](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Selzier](https://forums.unrealengine.com/u/Selzier)\
**Post date:** [March 4, 2025, 4:57pm UTC](https://forums.unrealengine.com/t/variable-default-value-set-to-placeholder-class/361428/5 "2025-03-04T16:57:42Z")

</div>

I also had this error so I’ll post where the problem was.

I had tried to check if my HUD class was valid, and if it was not, it waited 0.1 seconds and tried again. I had to remove this “loop” to get my variables working correctly (they did not revert back to PLACEHOLDER CLASS) and Unreal editor was no longer crashing upon exit.

**DON’T do this:**

 ![DelayError](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/0/6f093ad0fc78abfa680390425394535415df4cd1.jpeg)
