# Splitting a struct pin on a Get Class Defaults node causes problems

**URL:** <https://forums.unrealengine.com/t/splitting-a-struct-pin-on-a-get-class-defaults-node-causes-problems/392932>\
**Category:** Blueprint\
**Tags:** Struct, compilation, graph, unreal-engine, question, Blueprint\
**Created:** [May 7, 2017, 12:24am UTC](https://forums.unrealengine.com/t/splitting-a-struct-pin-on-a-get-class-defaults-node-causes-problems/392932 "2017-05-07T00:24:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Modus\_Ponens](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Modus\_Ponens](https://forums.unrealengine.com/u/Modus_Ponens)\
**Post date:** [May 7, 2017, 12:24am UTC](https://forums.unrealengine.com/t/splitting-a-struct-pin-on-a-get-class-defaults-node-causes-problems/392932/1 "2017-05-07T00:24:03Z")

</div>

**REPRO**

1. Add a struct variable called _Foo_ with a member called _Bar_ to a class called _Dab_
2. Drop a **Get Class Defaults** node for _Dab_ in a graph
3. On that node, split the output struct pin for _Foo_
4. Use the resulting _Bar_ pin that has appeared in an executed node (say, set a local variable)
5. Try to compile _Dab_

**EXPECTED RESULT**

The compiler knows that _Bar_ is internal to _Foo_, and _Dab_ compiles properly

**ACTUAL RESULT**

The **Get Class Defaults** node now contains a pin labeled _Foo Bar_, and the compiler looks for a variable by that name in _Dab_. It cannot find one, so _Dab_ cannot compile

**SCREENSHOTS**

[http://imgur.com/yKWz6ks](http://imgur.com/yKWz6ks): This works, using a struct variable called _FleetElementInfo_ containing an integer called _FPCost_

[http://imgur.com/txDu6Gj](http://imgur.com/txDu6Gj): This doesn’t work, using the same struct and integer

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [May 8, 2017, 9:35pm UTC](https://forums.unrealengine.com/t/splitting-a-struct-pin-on-a-get-class-defaults-node-causes-problems/392932/2 "2017-05-08T21:35:30Z")

</div>

Hey Modus-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here [Unreal Engine Issues and Bug Tracker (UE-44813)](https://issues.unrealengine.com/issue/UE-44813) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers
