# Can't break USTRUCT

**URL:** <https://forums.unrealengine.com/t/cant-break-ustruct/301814>\
**Category:** Editor Scripting\
**Tags:** ustruct, unreal-engine, CPP, question, Blueprint\
**Created:** [December 17, 2014, 3:57am UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814 "2014-12-17T03:57:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nice\_Rain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nice\_Rain](https://forums.unrealengine.com/u/Nice_Rain)\
**Post date:** [December 17, 2014, 3:57am UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/1 "2014-12-17T03:57:27Z")

</div>

I’ve declared a USTRUCT in C++, and I am trying to access it in UE4. It was working fine in 4.5 (I could break the struct and access the variables). In fact, it still works, if I copy/paste the break node that I already had from 4.5. it even updates correctly if I add or remove variables from it.

When I try to break the struct now, I dont’ even get an option for it. Is there a trick for accessing USTRUCT variables in 4.6 or is this something that broke with all the API changes?

---

<div class="post-metadata">

**Author:** ![Nice\_Rain](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nice\_Rain](https://forums.unrealengine.com/u/Nice_Rain)\
**Post date:** [December 17, 2014, 5:16am UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/2 "2014-12-17T05:16:28Z")

</div>

Found out I just needed to change USTRUCT() to USTRUCT(blueprintable). I guess this came in the 4.6 update…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c0687f281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c0687f281](https://forums.unrealengine.com/u/anonymous_user_c0687f281)\
**Post date:** [January 8, 2015, 2:06pm UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/3 "2015-01-08T14:06:01Z")

</div>

Same problem here. Can’t even break results from line traces. WTF.

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [January 8, 2015, 2:08pm UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/4 "2015-01-08T14:08:33Z")

</div>

Hey, have you tried changing USTRUCT() to USTRUCT(Blueprintable)?

Do you encounter the same problem in a new, fresh project?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fc4c82b6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fc4c82b6](https://forums.unrealengine.com/u/anonymous_user_fc4c82b6)\
**Post date:** [March 18, 2015, 4:44pm UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/5 "2015-03-18T16:44:42Z")

</div>

Another thing I found is that you have to mark all your variables in the struct as UPROPERTY() with BlueprintReadWrite / BlueprintReadOnly to make them appear in the break node (or even make the break node visible) 🙂

Maybe this helps someone in the future!

---

<div class="post-metadata">

**Author:** ![tuatec](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tuatec](https://forums.unrealengine.com/u/tuatec)\
**Post date:** [September 16, 2020, 11:10pm UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/6 "2020-09-16T23:10:57Z")

</div>

Hi community,

I had the same issues and found this thread.

With the latest version (4.24) I had to use USTRUCT(BlueprintType) and UPROPERTY(BlueprintReadWrite,…) to make it breakable. Furthermore you can use UPROPERTY(EditAnywhere, BlueprintReadWrite,…) to make it breakable and editable in the editor. I use these properties to set animations and use them in the Blueprint animation script.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_db3a13d3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_db3a13d3](https://forums.unrealengine.com/u/anonymous_user_db3a13d3)\
**Post date:** [June 9, 2022, 12:41pm UTC](https://forums.unrealengine.com/t/cant-break-ustruct/301814/7 "2022-06-09T12:41:25Z")

</div>

it works, thank you.
