# Blueprint Inheritance not support in cooked/build game

**URL:** <https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937>\
**Category:** Blueprint\
**Tags:** package, actor, cooked, invisible, unreal-engine, navmesh, question\
**Created:** [December 8, 2014, 10:34am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937 "2014-12-08T10:34:37Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trustyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trustyz](https://forums.unrealengine.com/u/Trustyz)\
**Post date:** [December 8, 2014, 10:34am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/1 "2014-12-08T10:34:37Z")

</div>

Hello there, I’m having a strange problem.

Everything works fine in editor when I spawn ai actor but in the cooked game they are invisible ( don’t even know if they spawn ). I tried to remplace them whith simple actor and everything works fine in both editor and cooked game. So i don’t know if the problem comes from Ai actor, skeleton mesh or else (?) I used the basic skeletal mesh provided with the engine ( HeroTPP ).

Additional informations, don’t know if it’s usefull knowing it works in editor :

- The pawn class I tried to spawn is a child of an other one.
- My actors have to start running just after joined the game using a nav mesh.
- I spawn them in a location ( hard written ) and then changed it with a set actor location ( and then they start running ).
- The game is supposed to use network, spawn function is located in GameMode and the issue is still there with one player.
- All is done in Blueprint

Thanks in advance for help ! Any ideas could help 🙂

---

<div class="post-metadata">

**Author:** ![Trustyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trustyz](https://forums.unrealengine.com/u/Trustyz)\
**Post date:** [December 12, 2014, 5:24pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/2 "2014-12-12T17:24:23Z")

</div>

I resolved it by clear the mesh in the parent blueprint and just set it in the child. Don’t know why put the same mesh in both make it invisible but, well, it’s a “solution”.

By the way, animations don’t play in cooked game, if someone have an idea (?) but I think it’s an other problem.

Edit : Well it wasn’t an other problem, inheritance seems to be guilty. Animation problem can be solve the same way as the invisible problem but now the rotation of the mesh don’t follow when the character run.

! **Inheritance** seems not to be support in the built, all is reset. Anyone knows how to solve it ? Is it a bug or just … a feature i don’t want to use and don’t know how to disable ?

---

<div class="post-metadata">

**Author:** ![sticky-bits](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sticky-bits](https://forums.unrealengine.com/u/sticky-bits)\
**Post date:** [March 2, 2015, 8:58am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/3 "2015-03-02T08:58:50Z")

</div>

I’ve got the exact same problem! Really frustrating. Did you manage to find a real solution to this?

---

<div class="post-metadata">

**Author:** ![Trustyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trustyz](https://forums.unrealengine.com/u/Trustyz)\
**Post date:** [March 2, 2015, 9:47am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/4 "2015-03-02T09:47:10Z")

</div>

No real solution sorry, the problem was inheritance and only way we founded was to do without it or to clear mesh and animation in the parent and set them in child. Btw we changed for Unity right now so I don’t know if the problem is solved in the 4.7, but the release note seems nice. Cheer up with unreal 😃 ! Updates should make it better and better 😉

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_609855a4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_609855a4](https://forums.unrealengine.com/u/anonymous_user_609855a4)\
**Post date:** [March 12, 2015, 12:44am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/5 "2015-03-12T00:44:47Z")

</div>

For the record: This is still an issue in 4.7.2. And unfortunatly, in my case clearing the mesh in the parent class doesnt solve the issue. I’m gonna dig a little bit more, but I guess I’ll end up asking a new question.

---

<div class="post-metadata">

**Author:** ![BPANDREW](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bpandrew/32/1194681_2.png) [@BPANDREW](https://forums.unrealengine.com/u/BPANDREW)\
**Post date:** [April 12, 2015, 11:04am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/6 "2015-04-12T11:04:33Z")

</div>

I’m having the same issue - Inheritance is the issue and if you try to hack your way around it, the rotations get ignored

Inheritance works fine in the vehicle actor - so this is obv a bug

---

<div class="post-metadata">

**Author:** ![Trustyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trustyz](https://forums.unrealengine.com/u/Trustyz)\
**Post date:** [April 12, 2015, 4:15pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/7 "2015-04-12T16:15:07Z")

</div>

Yep ! And What-A-Bug ! Can’t understand why such issue isn’t fix yet 😕 inheritance is so usefull … and clean;

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [May 17, 2015, 3:09pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/8 "2015-05-17T15:09:53Z")

</div>

I just came across this bug today as well. For me, when I clear the mesh in the parent characters, the child characters are visible but they start walking in the air in Standalone mode. In PIE mode, everything works fine.

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [May 18, 2015, 3:54am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/9 "2015-05-18T03:54:40Z")

</div>

Hey @Trustyz have you figured out some way to get around this bug? I’m kind of stuck with this as well. As you suggested, removing the mesh from the parent character makes the child characters visible. However that causes wierd rotation and pathing issues as they seem to be trying to walk while floating above the floor. Works perfectly in editor though.

I’m gonna add in a bug report linking to this post anyway.

---

<div class="post-metadata">

**Author:** ![TobieD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TobieD](https://forums.unrealengine.com/u/TobieD)\
**Post date:** [May 19, 2015, 4:38pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/10 "2015-05-19T16:38:22Z")

</div>

Just came across this bug aswell, had made a pawn base class and inherited from it for my player blueprint. Work around I used was to clear the base skeleton mesh and add a new skeleton mesh in the player blueprint. Haven’t had any issues so far

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [May 21, 2015, 6:23am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/11 "2015-05-21T06:23:52Z")

</div>

Hi @TobieD, that fixed the invisibility issue for me as well. But then created a new bug in my case. If I refer any of these enemy child classes from the blueprints, one of them starts floating when playing in the standalone game. I have raised a bug report for the same, but I’m unable to repro this invisibility bug in a new project in the first place

---

<div class="post-metadata">

**Author:** ![TobieD](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TobieD](https://forums.unrealengine.com/u/TobieD)\
**Post date:** [May 21, 2015, 8:59am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/12 "2015-05-21T08:59:08Z")

</div>

I’ve noticed a lot of issues with standalone game lately (Collisions not working) but when I package my game works.

---

<div class="post-metadata">

**Author:** ![User-1420270633](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@User-1420270633](https://forums.unrealengine.com/u/User-1420270633)\
**Post date:** [June 25, 2015, 5:16pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/13 "2015-06-25T17:16:19Z")

</div>

Hi @Trustyz,

What version are you on? For 4.8, we fixed an issue with parent/child cyclic dependencies where property values were getting reset and not properly overridden. Curious to know if this was still happening for you in 4.8?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3dfd5ee1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3dfd5ee1](https://forums.unrealengine.com/u/anonymous_user_3dfd5ee1)\
**Post date:** [July 23, 2015, 1:30am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/14 "2015-07-23T01:30:24Z")

</div>

I’m experiencing these problems as well. My version is 4.7.6.

---

<div class="post-metadata">

**Author:** ![Stormrage256](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stormrage256/32/1008648_2.png) [@Stormrage256](https://forums.unrealengine.com/u/Stormrage256)\
**Post date:** [July 23, 2015, 2:29am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/15 "2015-07-23T02:29:43Z")

</div>

One of the blueprints most probably got corrupt. I wasted too much time on trying to fix this. If you do not have a lot of code to transfer, it’s a lot better to create a new parent class and child classes for your pawns. I haven’t had any problems ever since I made new classes.

You can check out another thread on the same issue:  
[https://answers.unrealengine.com/questions/229413/character-class-inheritance-causes-child-to-be-inv.html](https://answers.unrealengine.com/questions/229413/character-class-inheritance-causes-child-to-be-inv.html)

Edit: Oh and creating duplicates don’t work. You have to create a new classes. Or try converting a copy to 4.8 to see if it’s fixed.

---

<div class="post-metadata">

**Author:** ![Trustyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Trustyz](https://forums.unrealengine.com/u/Trustyz)\
**Post date:** [July 23, 2015, 6:34am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/16 "2015-07-23T06:34:16Z")

</div>

Sorry for late answer, actually we switch to Unity so i can’t tell you. I will be back on unreal in some months and check it at this time.

---

<div class="post-metadata">

**Author:** ![ThierryV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThierryV](https://forums.unrealengine.com/u/ThierryV)\
**Post date:** [July 24, 2015, 10:32pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/17 "2015-07-24T22:32:48Z")

</div>

We have a similar issue with 4.8.2

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_63433c80](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_63433c80](https://forums.unrealengine.com/u/anonymous_user_63433c80)\
**Post date:** [September 14, 2015, 3:17am UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/18 "2015-09-14T03:17:38Z")

</div>

I seem to be experiencing a similar bug using 4.8.3 hotfix. Everything works fine in editor, but in standalone cooked builds some blueprint instances have some of their overriden properties resetting to their parent blueprint default values. Could you give a link to the bug entry that was fixed in 4.8 please?

---

<div class="post-metadata">

**Author:** ![UnexpectedSquirt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnexpectedSquirt](https://forums.unrealengine.com/u/UnexpectedSquirt)\
**Post date:** [October 18, 2016, 7:29pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/19 "2016-10-18T19:29:25Z")

</div>

Getting something _very_ similiar to this ocurring in 4.12.1

---

<div class="post-metadata">

**Author:** ![UnexpectedSquirt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@UnexpectedSquirt](https://forums.unrealengine.com/u/UnexpectedSquirt)\
**Post date:** [October 19, 2016, 5:32pm UTC](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937/20 "2016-10-19T17:32:35Z")

</div>

Ah nevermind, it was an unrelated problem that just happened to cause similar symptoms to this

[Next page](https://forums.unrealengine.com/t/blueprint-inheritance-not-support-in-cooked-build-game/300937.md?page=2)
