# References of inherited component is cleared on blueprint update

**URL:** <https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811>\
**Category:** Blueprint\
**Tags:** actor, references, unreal-engine, bug-report, question, CPP, Blueprint\
**Created:** [February 3, 2017, 10:25am UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811 "2017-02-03T10:25:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [February 3, 2017, 10:25am UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/1 "2017-02-03T10:25:22Z")

</div>

**Build Type** : ‘Binary’ build from the Unreal Launcher  
**Build version** : 4.14.3-3249277

**Decription** : References on component gets cleared when updating parent actor blueprint

**Repro project includes** :

- Clean c++ project created form UE launcher without any engine/starter content
- One c++ class `UTestSceneComponent` derived from `USceneComponent` with `UPROPERTY(EditAnywhere) AActor* testActor`
- One Actor blueprint `TestActor_BP` with a `UTestSceneComponent`
- One `NewMap` level with a `TestActor_BP`

**Repro Steps** :

1. Open `NewMap`
2. Select `TestActor_BP` in the world outliner panel
3. Select `TestScene (Inherited)` in the details panel
4. Note that the “Test Actor” property is set to `TestActor_BP`
5. Open/Edit the `TestActor_BP` blueprint
6. Edit any value in ClassDefualts (e.g. TickInterval from 0.0 to 1.0)
7. Compile and save the blueprint
8. Note that `TestScene (Inherited)`:s “Test Actor” property is now `None` in the details panel

Issue occurs 100% of the timefor me with these steps

**System Specs** : reference card

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [February 3, 2017, 12:56pm UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/2 "2017-02-03T12:56:35Z")

</div>

Am I perhaps using this component in an officially unsupported way? is there a workaround/right way to implement this behavior?

---

<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:** [February 3, 2017, 4:48pm UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/3 "2017-02-03T16:48:33Z")

</div>

Hey j\_zeitler-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-41523)](https://issues.unrealengine.com/issue/UE-41523) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [February 4, 2017, 4:10pm UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/4 "2017-02-04T16:10:21Z")

</div>

Thanks ,  
Great to get some UE eyes on this

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [February 13, 2017, 12:59pm UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/5 "2017-02-13T12:59:36Z")

</div>

Saw this by the way:

> […] setting the pointer to point to  
> an instance of the same blueprint will  
> cause the pointer to reset to “None”

The issue actually happens regardless what (actor) instance the pointer points to.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [April 26, 2017, 8:49am UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/6 "2017-04-26T08:49:59Z")

</div>

This also seem to happen with references in level sequences. haven’t tested that as thoroughly though

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [April 26, 2017, 9:42am UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/7 "2017-04-26T09:42:33Z")

</div>

Okay, so the bug is not as severe as I thought for Level Sequences. Still annoying though. For level sequences it has to do with referencing blueprint instances in _sub-levels_. Repro is:

1. start a fresh project
2. make two levels (`main.umap` and `sub.umap`)
3. load `main` in the editor
4. drag-drop `sub` into the levels list and set it to initially visible+loaded or always loaded
5. create a level sequence, `mainSeq`
6. drop `mainSeq` into `main` and set it to autoplay
7. drop a cube into `sub`
8. make a blueprint, `BP_cube` from the cube
9. open `mainSeq` from the content browser
10. drop in `cube` into `mainSeq` from the world outliner
11. create some transform animation for the cube track
12. save all
13. play in editor (note that the cube is moving)
14. open `BP_cube`
15. change anything in class defaults (like TickInterval)
16. compile and save `BP_cube`
17. play in editor again (note that cube is not moving, lvlseq ref is broken)

should I open a new bug report for this? Since it’s between levels it may have to do with the `lazyPtr` implementation or something rather than the regular references above

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_28186b8d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_28186b8d](https://forums.unrealengine.com/u/anonymous_user_28186b8d)\
**Post date:** [April 26, 2017, 9:49am UTC](https://forums.unrealengine.com/t/references-of-inherited-component-is-cleared-on-blueprint-update/383811/8 "2017-04-26T09:49:06Z")

</div>

the lvlseq bug is tested with 4.15.1
