# BP compile error on split struct pin display

**URL:** <https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, Blueprint, question\
**Created:** [August 6, 2016, 1:31pm UTC](https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325 "2016-08-06T13:31:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![KVogler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KVogler](https://forums.unrealengine.com/u/KVogler)\
**Post date:** [August 6, 2016, 1:31pm UTC](https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325/1 "2016-08-06T13:31:55Z")

</div>

Hi,

I just noticed a little bug in the BP compile system.  
When you create a function with input pins, its completely OK to leave them unconnected.  
This is also true for struct nodes.  
However, if you have a struct node that contains an array as a member, then compilation is only successful if the struct pin is not split.

 ![101805-compilesok.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/c/4/8c4e8973835a027612e29e4bcf1ed459eda86715.jpeg)

 ![101806-compileerror.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/6/e/86e309f7162e7996bb00d00104d20e61c649526f.jpeg)

As splitting/recombining is not really changing any code logic, both should compile, or not???

Thanks for looking into it 🙂  
Cheers,  
Klaus

---

<div class="post-metadata">

**Author:** ![KVogler](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KVogler](https://forums.unrealengine.com/u/KVogler)\
**Post date:** [August 6, 2016, 1:44pm UTC](https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325/2 "2016-08-06T13:44:25Z")

</div>

Just to add:

My little workaround at the moment is to simply hook an empty dummy array as a local variable to it. It works just fine, but it adds unneccesarily to graph clutter and resources…

![101810-compileworks.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/1/1113f725d8dadf1fa834ac516040e340cc845df1.jpeg)

Would still be nice if that gets fixed 😃

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [August 8, 2016, 3:07pm UTC](https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325/3 "2016-08-08T15:07:01Z")

</div>

Hello ,

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link below to the public tracker. Thank you for your time and information.

Link: [Unreal Engine Issues and Bug Tracker (UE-34349)](https://issues.unrealengine.com/issue/UE-34349)

Make it a great day

---

<div class="post-metadata">

**Author:** ![Dwarfmine](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dwarfmine](https://forums.unrealengine.com/u/Dwarfmine)\
**Post date:** [May 10, 2017, 5:20pm UTC](https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325/4 "2017-05-10T17:20:21Z")

</div>

Bug reported, but marked as “Won’t Fix”?

If you hide the pin in the details you don’t have to specify it!  
So a fix has to be possible.

**Why can’t we fix that problem?**  
Just came across this issue again.

– A pointer pin is fine to stay empty and would result in a null pointer.  
– An empty Array pin could result in an empty array?

If you hide the pin everything is fine.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 11, 2017, 1:36pm UTC](https://forums.unrealengine.com/t/bp-compile-error-on-split-struct-pin-display/366325/5 "2017-05-11T13:36:55Z")

</div>

Hello Dwarfmine,

If you take a look at the public tracker you will see that it was closed as won’t fix because you have to use a Make Array node if you want to set a array member variable.
