# Widget class of widget component set to PLACEHOLDER-CLASS\_something when restarting editor

**URL:** <https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632>\
**Category:** UI\
**Tags:** casting, unreal-engine, Widget, question, Blueprint\
**Created:** [March 12, 2015, 11:16am UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632 "2015-03-12T11:16:38Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![Truun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Truun](https://forums.unrealengine.com/u/Truun)\
**Post date:** [March 12, 2015, 11:16am UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/1 "2015-03-12T11:16:38Z")

</div>

Hello everyone,

I’m trying access some text from a widget and set its value like this:

The text is set fine. However, when I restart the editor, the first thing I see is that my widget class in the widget component is set to a PLACEHOLDER\_CLASS:

 ![33810-image2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/9/f99e5f8b102587b95fd00bb3a842c32432639da7.png)

This only seems to happen when I have a connection to “Cast To” the blueprint type. When I disconnect the link to cast to tracksign, the widget class of the widget component stays tracksign when I restart the editor. It doesn’t only happen if I do it in begin play, it happens when I do it anywhere in the blueprint.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [March 12, 2015, 3:48pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/2 "2015-03-12T15:48:56Z")

</div>

Hello Cyborgking,

After doing a bit of digging around, I have found that this is a known issue (UE-9824) and that it has been fixed internally. It should be available in a later release of the engine. I hope that this helps. Thank you for your time and information.

Make it a great day

---

<div class="post-metadata">

**Author:** ![Truun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Truun](https://forums.unrealengine.com/u/Truun)\
**Post date:** [March 12, 2015, 3:57pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/3 "2015-03-12T15:57:18Z")

</div>

Good to hear that it has been fixed! Do you have an idea how to handle this problem in the time till the release? I don’t mind doing a little tweak to the engine’s source if I have to.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [March 12, 2015, 4:30pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/4 "2015-03-12T16:30:16Z")

</div>

Hello Cyborgking,

I do not currently have a workaround for this issue, however if you do come up with one could you please post it as a reply so that anyone else that runs into this issue could have a solution as well?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5c32abf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5c32abf](https://forums.unrealengine.com/u/anonymous_user_e5c32abf)\
**Post date:** [March 17, 2015, 4:22pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/5 "2015-03-17T16:22:17Z")

</div>

Hi Rudy,

Can you reference the github commit that fixes this so I can pull this into my source?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [March 17, 2015, 5:35pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/6 "2015-03-17T17:35:11Z")

</div>

Hello ,

Here is the commit that you requested. I will also be providing a second link. The second one was a commit to help clear up a few errors that this first commit created. I hope this helps.

First:  
[https://github.com/EpicGames/UnrealEngine/commit/db2519d66c7be26166e7b25d41926b2213f010eb](https://github.com/EpicGames/UnrealEngine/commit/db2519d66c7be26166e7b25d41926b2213f010eb)

Second:  
[https://github.com/EpicGames/UnrealEngine/commit/9102b465aac8ff511e7e639279d62825ef135d09](https://github.com/EpicGames/UnrealEngine/commit/9102b465aac8ff511e7e639279d62825ef135d09)

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5c32abf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5c32abf](https://forums.unrealengine.com/u/anonymous_user_e5c32abf)\
**Post date:** [March 17, 2015, 7:59pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/7 "2015-03-17T19:59:12Z")

</div>

You sir are a gentleman and a scholar.

---

<div class="post-metadata">

**Author:** ![Truun](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Truun](https://forums.unrealengine.com/u/Truun)\
**Post date:** [March 17, 2015, 8:02pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/8 "2015-03-17T20:02:08Z")

</div>

Thanks, exactly what I was looking for.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e5c32abf](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e5c32abf](https://forums.unrealengine.com/u/anonymous_user_e5c32abf)\
**Post date:** [March 18, 2015, 3:43pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/9 "2015-03-18T15:43:36Z")

</div>

Hi Rudy,

These are big changes to cherry pick, and they depend on other changes (like NewObject\<\> has changed). Do you have a list of commits that need to be pulled from 4.7 to make this compile?

Thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [March 18, 2015, 7:05pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/10 "2015-03-18T19:05:28Z")

</div>

Hello ,

Unfortunately we do not have the ability to determine what previous commits would be required to ensure that a certain commit works correctly.

---

<div class="post-metadata">

**Author:** ![THREEONEZERO](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@THREEONEZERO](https://forums.unrealengine.com/u/THREEONEZERO)\
**Post date:** [March 30, 2015, 2:24am UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/11 "2015-03-30T02:24:04Z")

</div>

Workaround is to alter the Widget Component to allow you to set the class and to call InitWidget from Blueprint.

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [November 12, 2015, 3:01am UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/12 "2015-11-12T03:01:01Z")

</div>

Hey Rudy, I experience this issue in 4.10. The widget is set to PLACEHOLDER after every engine restart. Is this a known bug again or should it still be fixed?  
It might be related to the fact that I set the widget class in a child actor of the actor where the WidgetComponent is added.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [November 12, 2015, 3:33pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/13 "2015-11-12T15:33:08Z")

</div>

Hello,

I ran through the report for this issue and tested it in the 4.10 release. I found that this particular issue has been resolved. This means that you are experiencing a different issue. If you would like, you could create a new thread and post the link in a reply. I will then be able to assist you further. I would like to mention that there is a known issue (UE-21098) that deals with “Placeholder” classes showing up in Blueprint as a result from cyclic dependencies. Please provide as much information as possible in the new thread to help reproduce this issue on our end.

Make it a great day

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [November 12, 2015, 9:50pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/14 "2015-11-12T21:50:42Z")

</div>

Thanks Rudy,

I guess the issue I get is this one: [[4.9.2] Widget Component Class resets - UI - Unreal Engine Forums](https://answers.unrealengine.com/questions/317042/492-widget-component-class-resets.html)

The description sounds exactly same like the bug here in this thread, so I wonder why it’s a separate bug.

---

<div class="post-metadata">

**Author:** ![Frozenfire](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Post date:** [December 19, 2015, 5:15am UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/15 "2015-12-19T05:15:03Z")

</div>

This isn’t fixed yet. i’m still facing this in 4.10

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [December 21, 2015, 2:19pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/16 "2015-12-21T14:19:31Z")

</div>

Hello ,

As mentioned above I have ran through the steps in the report for this issue and it appears to have been resolved. The issue that you are experiencing may be separate from the issue that is mentioned in this thread. If you like you could start a new thread with more information on how to reproduce this issue in a clean project and then post the link in a reply and I will be happy to assist you further.

Make it a great day

---

<div class="post-metadata">

**Author:** ![grilly](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@grilly](https://forums.unrealengine.com/u/grilly)\
**Post date:** [May 19, 2016, 6:00pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/17 "2016-05-19T18:00:20Z")

</div>

i still have the same problem in 4.11.2.  
Every time i load the project, the WidgetComponent’s WidgetClass is set to PLACEHOLDER\_EnemyStats\_C\_8 instead of simply inheriting “EnemyStats” from its parent.

I have no idea what’s going on, or what i’m doing wrong … it is very annoying to re-set all the classes after every load.  
(maybe this is what the _“uses experimental class”_ warning is about?)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 19, 2016, 7:45pm UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/18 "2016-05-19T19:45:01Z")

</div>

Hello grilly,

As mentioned above I have ran through the steps in the report for this issue and it appears to have been resolved. The issue that you are experiencing may be separate from the issue that is mentioned in this thread. If you like you could start a new thread with more information on how to reproduce this issue in a clean project and then post the link in a reply and I will be happy to assist you further.

Make it a great day

---

<div class="post-metadata">

**Author:** ![jacksonnexhip](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacksonnexhip/32/494650_2.png) [@jacksonnexhip](https://forums.unrealengine.com/u/jacksonnexhip)\
**Post date:** [February 11, 2026, 12:38am UTC](https://forums.unrealengine.com/t/widget-class-of-widget-component-set-to-placeholder-class_something-when-restarting-editor/310632/19 "2026-02-11T00:38:20Z")

</div>

Having this same issue in 5.5 [Blueprint reverting to errored state after restarting engine](https://forums.unrealengine.com/t/blueprint-reverting-to-errored-state-after-restarting-engine/2698672)
