# \[4.8.1\] Crash on "New Variable" for struct

**URL:** <https://forums.unrealengine.com/t/4-8-1-crash-on-new-variable-for-struct/323274>\
**Category:** Blueprint\
**Tags:** Struct, unreal-engine, crash, Blueprint, question\
**Created:** [June 27, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/4-8-1-crash-on-new-variable-for-struct/323274 "2015-06-27T20:37:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ArtificialMind\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ArtificialMind\_1](https://forums.unrealengine.com/u/ArtificialMind_1)\
**Post date:** [June 27, 2015, 8:37pm UTC](https://forums.unrealengine.com/t/4-8-1-crash-on-new-variable-for-struct/323274/1 "2015-06-27T20:37:01Z")

</div>

While trying to reproduce another “New Variable” crash, I came along following one:

Minimal Project

In this project, open “NewBlueprint” (an Actor) first and then “MyStruct” (struct).  
With both windows open, press “New Variable” for struct.

Expected behavior: A new variable appears.

Encountered behavior: Crash Log  
("Fatal error: [File:D:\BuildFarm\buildmachine\_++depot+UE4-\> Releases+4.8\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp] [Line: 249]  
Unknown code token 30  
NewBlueprint\_C //Engine in UE4Editor\_CoreUObject!UObject::execStructConst())

Tested with 4.8.1.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_33800a51](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_33800a51](https://forums.unrealengine.com/u/anonymous_user_33800a51)\
**Post date:** [June 28, 2015, 5:18pm UTC](https://forums.unrealengine.com/t/4-8-1-crash-on-new-variable-for-struct/323274/2 "2015-06-28T17:18:14Z")

</div>

Hey ArtificialMind,

Thanks for report! I was able to reproduce this in 4.7.6, 4.8.1, and our main internal build. It appears to only happen when struct is referenced twice as a function input, that function input is used in a Construction Script, and Blueprint with referencing function is open in another tab. I’ve filed a bug report for crash (UE-17809) and I’ll post here when I see an update on it. Thanks again!

---

<div class="post-metadata">

**Author:** ![Ded\_Mazay](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ded\_Mazay](https://forums.unrealengine.com/u/Ded_Mazay)\
**Post date:** [May 6, 2016, 7:09pm UTC](https://forums.unrealengine.com/t/4-8-1-crash-on-new-variable-for-struct/323274/3 "2016-05-06T19:09:22Z")

</div>

4.11.2 same problem. Not fixed!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [May 9, 2016, 6:59pm UTC](https://forums.unrealengine.com/t/4-8-1-crash-on-new-variable-for-struct/323274/4 "2016-05-09T18:59:32Z")

</div>

Hi ded\_Mazay,

This was marked as fixed in 4.9 and is extremely outdated. If you are experiencing same or a similar error, please open a new bug report detailing what error you are seeing, what steps we can take to reproduce this error on our end, and provide your crash logs and callstack. I am closing this thread as outdated.
