# Blueprint's parent showing as 'None' when i recompile

**URL:** <https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577>\
**Category:** Blueprint\
**Tags:** unreal-engine, compile, CPP, Blueprint, question\
**Created:** [December 4, 2014, 3:49pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577 "2014-12-04T15:49:14Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 4, 2014, 3:49pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/1 "2014-12-04T15:49:14Z")

</div>

As the title says whenever i recompile the parent of my “BMW\_5\_F11” blueprint parent says BPSCode.Vehicle when i put my mouse over the asset in the content browser which is what it should say, but if i play the game or open the blueprint the parent class is set to ‘None’.

It doesn’t matter what i change in the code even if the Vehicle class is not modified it still happens. this doesnt happen for any of my other classes however.

I tried putting these parameters in the UCLASS Macro, but it doesn’t fix anything.

```
UCLASS(BlueprintType, Blueprintable)

```

I’ve had this problem for weeks now and i thought maybe it might be fixed in 4.6, so i waited but it hasn’t.

I also get these warning in the output log when i start the editor up: [Screenshot - a4af9ca0eb6976be362ccb1ba0d86ad6 - Gyazo](http://gyazo.com/a4af9ca0eb6976be362ccb1ba0d86ad6)

> **[Gyazo](https://gyazo.com/eb1158dcffcb6aaf80c08906902234dc)**
>
> Easily capture screenshots, GIFs, and replays that are ready to share. Download the free app for windows and mac.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 5, 2014, 3:15pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/2 "2014-12-05T15:15:10Z")

</div>

Hey -

When you recompile are you rebuilding the project, running in debug mode through Visual Studios, or using the compile button inside the editor? Do you get the output log warnings every time you open the editor or only after changing code in the parent?

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 5, 2014, 9:41pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/3 "2014-12-05T21:41:26Z")

</div>

I get the problem whenever i run the editor from visual studio whether i compile or just run, but i dont get it when i do a hot reload inside the editor

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 6, 2014, 8:51pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/4 "2014-12-06T20:51:35Z")

</div>

I think it may be somkething to do with the generated file because it seems to only be that class would deleting and recreating the class fix this do you think?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 8, 2014, 4:10pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/5 "2014-12-08T16:10:17Z")

</div>

It’s worth a try. You should be able to create a new class and simply copy/paste from the old file to the new one. If it is the file itself that is corrupt then having the new reference point should fix it.

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 9, 2014, 4:12pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/6 "2014-12-09T16:12:00Z")

</div>

Well i completely made a new project and it is stil doing the exact same thing so it must be a bug somewhere

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 9, 2014, 7:58pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/7 "2014-12-09T19:58:14Z")

</div>

Hey -

I’m trying to reproduce your issue but don’t believe I’m getting the same result. I created a new project and used the “Add Code to Project” wizard to add a class based on actor. I immedately built the project and ran in debug mode to reopen the editor. After creating a blueprint based on the new class it shows MyProject.MyActor as the parent in the content browser and MyActor.h if I open the blueprint. I then go back into VS and add a float variable and recompile/reload in debug mode. Both the content browser and BP still show MyProject.MyActor and MyActor.h respectively. Please let me know if there is something that I am doing differently from your setup.

Cheers

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 9, 2014, 9:50pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/8 "2014-12-09T21:50:35Z")

</div>

It’s not just that though. i think it has to be the way my c++ class is or a bug. The class is a reinvention of the AWheeledVehicle class which is what i think may be the problem do you want me to send the header and source file to you? you will have to comment out some of the stuff that require other classes

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 9, 2014, 10:06pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/9 "2014-12-09T22:06:54Z")

</div>

If you could supply your code it will help identify what the problem is and what the cause might be. Are you able to edit or use the blueprint when its parent is listed as “none”?

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 9, 2014, 11:20pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/10 "2014-12-09T23:20:45Z")

</div>

> **[Vehicles](http://www.mediafire.com/file/92b0cdvzfj8eciv/Vehicles.rar/file)**
>
> MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

I tried getting rid of the mesh and vehicle movement component and making the parent AWheeledVehicle but it still happens.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 10, 2014, 10:17pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/11 "2014-12-10T22:17:24Z")

</div>

While I’m investigating the files you sent I would like to ask if you are able to edit or use the blueprint when its parent is listed as “none”? Also, when you tried this in a new project, did you use a blank class for the blueprint (new class with nothing added) or did you use the same class that you sent me?

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 10, 2014, 10:58pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/12 "2014-12-10T22:58:12Z")

</div>

Sorry i forgot about that question :3 it just comes up with this message: [Screenshot - e6d7a3c6d66f7f1300b17b01393479a7 - Gyazo](http://gyazo.com/e6d7a3c6d66f7f1300b17b01393479a7)

even when i haven’t changed ANY code whatsoever just closed the editor and started it back up. it would be sort of okay if i could reparent the blueprint from the content browser but i cant

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 11, 2014, 1:28pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/13 "2014-12-11T13:28:30Z")

</div>

One other question, when you tried this in a new project did you use a blank class for the blueprint or did you use the Vehicle class that you sent me?

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 11, 2014, 1:33pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/14 "2014-12-11T13:33:11Z")

</div>

I Used the vehicle class but i recreated it. i created a class from the editor called Vehicle which derives from Pawn and just pasted the variables and functions into the files

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 11, 2014, 3:19pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/15 "2014-12-11T15:19:52Z")

</div>

Hey -

Do you receive the same error if you open a new project and create a blueprint based on a newly created pawn class without adding any code to the pawn class? You should be able to create the class and compile then create the blueprint back in the editor. Also, just to ensure I’m working in the same environment that you are, are you using 4.5.1 or 4.6, are you running from the launcher or through source code and are you creating a coded based project or a blueprint project with code added?

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 11, 2014, 9:04pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/16 "2014-12-11T21:04:22Z")

</div>

Hi , I am using the full 4.6 not the preview and i am running from visual studio not the project launcher and i created the project as a blank c++ project. also i have a pedestrian class that derives from character which derives from pawn. but i will try creating a new class derived from pawn in a bit and get back to you

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 19, 2014, 2:49pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/17 "2014-12-19T14:49:57Z")

</div>

Terribly sorry about the really late reply. i created a new class derived from APawn and made a blueprint derived from that class and it works as normal.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 19, 2014, 3:32pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/18 "2014-12-19T15:32:49Z")

</div>

Hey -

Glad to hear things are working again. If you experience this problem again feel free to reopen this post, however I will be marking this as resolved for tracking purposes. Best of luck on your project

Cheers

---

<div class="post-metadata">

**Author:** ![KieranChandler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KieranChandler](https://forums.unrealengine.com/u/KieranChandler)\
**Post date:** [December 19, 2014, 4:41pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/19 "2014-12-19T16:41:01Z")

</div>

But the other class still doesn’t work ☹ the issue is not resolved

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [December 19, 2014, 4:56pm UTC](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577/20 "2014-12-19T16:56:08Z")

</div>

Does the class still show as none if you create a new class and then copy the contents from the previous class into it? If creating a new class worked properly it is possible that the original class got corrupted and just needs to be recreated.

[Next page](https://forums.unrealengine.com/t/blueprints-parent-showing-as-none-when-i-recompile/300577.md?page=2)
