# Undo doesn't work as expected after adding components through Blueprints AActor::AddComponentByClass despite using the Transact system 

**URL:** <https://forums.unrealengine.com/t/undo-doesnt-work-as-expected-after-adding-components-through-blueprints-aactor-addcomponentbyclass-despite-using-the-transact-system/2697564>\
**Category:** Programming & Scripting\
**Tags:** undo, unreal-engine, Blueprint, question\
**Created:** [February 5, 2026, 3:37pm UTC](https://forums.unrealengine.com/t/undo-doesnt-work-as-expected-after-adding-components-through-blueprints-aactor-addcomponentbyclass-despite-using-the-transact-system/2697564 "2026-02-05T15:37:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IEC\_Mickael](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IEC\_Mickael](https://forums.unrealengine.com/u/IEC_Mickael)\
**Post date:** [February 5, 2026, 3:37pm UTC](https://forums.unrealengine.com/t/undo-doesnt-work-as-expected-after-adding-components-through-blueprints-aactor-addcomponentbyclass-despite-using-the-transact-system/2697564/1 "2026-02-05T15:37:03Z")

</div>

I think I found a bug in Unreal 5.6 blueprint:  
_Undo doesn’t work as expected after adding components through Blueprints AActor::AddComponentByClass despite using the Transact system_

Bug description and uasset reprocase can be found here: [https://drive.google.com/drive/folders/1aCCedol7Pu7HQoE9gO8ssmY3kVu1xH5h?usp=drive\_link](https://drive.google.com/drive/folders/1aCCedol7Pu7HQoE9gO8ssmY3kVu1xH5h?usp=drive_link "https://drive.google.com/drive/folders/1aCCedol7Pu7HQoE9gO8ssmY3kVu1xH5h?usp=drive\_link")

2 things I would like if possible:

- if it looks like I am using the node wrong, I’d like to know.

- if anyone has encountered this issue before, what workaround did you use?

Thank you!

PS: I also reported a bug through the official form
