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

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

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