# How can I update a Blueprint after changing the base C++ class?

**URL:** <https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, CPP, question\
**Created:** [February 20, 2017, 11:35am UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522 "2017-02-20T11:35:16Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1d494eca](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1d494eca](https://forums.unrealengine.com/u/anonymous_user_1d494eca)\
**Post date:** [February 20, 2017, 11:35am UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/1 "2017-02-20T11:35:16Z")

</div>

I’ve recently been having a problem relating to changes in C++ code not being reflected in the Blueprints that inherit from it. I have been defining Overlap events in C++ in order to create a pickup class. However, whenever I make a change to the Overlap event, the changes are not reflected in the Blueprints after I compile the code. Instead, I have to delete the Blueprint class and remake it, which is a very slow process. Is there a way to refresh the Blueprint class to make it see the changes, or do I need to keep remaking the Blueprints every time?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_25fc94e8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_25fc94e8](https://forums.unrealengine.com/u/anonymous_user_25fc94e8)\
**Post date:** [June 5, 2017, 8:16pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/2 "2017-06-05T20:16:27Z")

</div>

Yes, this is a problem i run into as well.  
any suggestions anyone ?

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [June 5, 2017, 10:43pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/3 "2017-06-05T22:43:16Z")

</div>

Try this with the blueprint open: File-\> Refresh All Nodes

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0aae6d111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0aae6d111](https://forums.unrealengine.com/u/anonymous_user_0aae6d111)\
**Post date:** [January 28, 2018, 9:28pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/4 "2018-01-28T21:28:13Z")

</div>

Any updates?

---

<div class="post-metadata">

**Author:** ![theonecalledtom](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@theonecalledtom](https://forums.unrealengine.com/u/theonecalledtom)\
**Post date:** [January 28, 2018, 9:59pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/5 "2018-01-28T21:59:18Z")

</div>

Did my suggestion below not work for you?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_0aae6d111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_0aae6d111](https://forums.unrealengine.com/u/anonymous_user_0aae6d111)\
**Post date:** [January 29, 2018, 6:41pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/6 "2018-01-29T18:41:29Z")

</div>

Unfortunately, didn’t ( I have a UPawnSensingComponent in my C++ Class-Actor, and the last update with adding to it a new delegate to the event OnSeePawn didn’t effect to an old Blueprint class, which inherits from the C++ Class.  
PawnSensingComp-\>OnSeePawn.AddDynamic(this, &AFPSAIGuard::OnPawnSeen2);  
I’ve used a lot of methods, including your (thank you for your suggestion), but, only recreating Blueprint class helps me ( it’s very annoying.

---

<div class="post-metadata">

**Author:** ![Whitrise](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Whitrise](https://forums.unrealengine.com/u/Whitrise)\
**Post date:** [June 1, 2018, 1:33pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/7 "2018-06-01T13:33:19Z")

</div>

I have same problem with 4.19.2. I don’t want to recreate my blueprints.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f95b7e1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f95b7e1d](https://forums.unrealengine.com/u/anonymous_user_f95b7e1d)\
**Post date:** [September 21, 2018, 12:03pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/8 "2018-09-21T12:03:33Z")

</div>

I solved this problem in this way : RMB on blueprints → Asset Actions → Reload.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f95b7e1d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f95b7e1d](https://forums.unrealengine.com/u/anonymous_user_f95b7e1d)\
**Post date:** [September 21, 2018, 12:07pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/9 "2018-09-21T12:07:02Z")

</div>

![254309-screenshot-13.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/d/3dd4f09c6e9c637caf8957f09c03b6fc60c76e29.png)

---

<div class="post-metadata">

**Author:** ![Nephilim\_Alpha](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nephilim\_Alpha](https://forums.unrealengine.com/u/Nephilim_Alpha)\
**Post date:** [December 5, 2022, 11:22pm UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/10 "2022-12-05T23:22:02Z")

</div>

Problem still here in 2022. Classy

---

<div class="post-metadata">

**Author:** ![Ricardbt](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ricardbt](https://forums.unrealengine.com/u/Ricardbt)\
**Post date:** [November 26, 2023, 10:00am UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/11 "2023-11-26T10:00:18Z")

</div>

> [@Nephilim\_Alpha](#):
>
> Problem still here in 2022

Problem still here in 2023 and with UE5.

There are a lot of tricks to solve this but sometimes none of them are working so you’re forced to create a new blueprint from your cpp class in order the changes to take effect.

Good luck if you need to change your constructor code after the very first version of your cpp class.

In my case I’ve _only_ added the overlap handling for an UBoxComponent (the common  
OnComponentBeginOverlap.AddDynamic(…)).  
Impossible to refresh the existing blueprint with this addition, need to create a new one, this is a nonsense and I’m sure that I’m doing something wrong but what? Id dont’ know, I’ve tried it all [1] becasue I don’t want to create a new blueprint child class from scratch, but nothing works. Creating a new BP child class works, the new class has the overlap behaviour, but this is not an acceptable solution to me, can’t believe that there’s no other option.

[1] Things that I’ve tried so far (over 10 times each):

- Close the editor and rebuild the solution from visual studio (Development Editor).
- Delete the folders _Binearies_ and _Intermediate_.
- RMB on the blueprint class \> Asset Actions \> Reload.
- Re-parent the blueprint class with the c++ class from the blueprint editor.
- Pledge god that if this time works I’ll assist to church next sunday (tried various gods and rites and a vast combination of them just in case god X wants me to land a tree and Y prefers goat sacrifices).

---

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [November 26, 2023, 11:35am UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/12 "2023-11-26T11:35:19Z")

</div>

Edit:

Ok did another run adding binding in c++ after the creation of the blueprint.

```auto
OverlapBox = CreateDefaultSubobject<UBoxComponent>(TEXT("Overlap Box"));	
OverlapBox->SetCollisionProfileName("OverlapAll", true);	
OverlapBox->SetupAttachment(GetRootComponent());
OverlapBox->OnComponentBeginOverlap.AddDynamic(this, &AMyActor2::OnOverlapBegin);
OverlapBox->SetGenerateOverlapEvents(true);

UpdateOverlaps(true);

```

`UpdateOverlaps(true);` works.  
It seems to enforce it to reevaluate the overlap volumes.

You can call it once and then comment it out. Only needs to be re-evaled once if the overlap is added later. No need to waste cpu cycles on each construction.

---

<div class="post-metadata">

**Author:** ![centos766](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@centos766](https://forums.unrealengine.com/u/centos766)\
**Post date:** [November 27, 2025, 3:42am UTC](https://forums.unrealengine.com/t/how-can-i-update-a-blueprint-after-changing-the-base-c-class/385522/13 "2025-11-27T03:42:42Z")

</div>

Problem still here in 2025, I’m new to UE and still can’t get scripts and blueprints to sync smoothly.I don’t understand why this problem has persisted for so long without a definitive solution, because it’s really impacting my learning efficiency.
