# \[4.7.6\] Blueprint: Inhertited variables can't be accessed

**URL:** <https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619>\
**Category:** Blueprint\
**Tags:** inheritance, scope, unreal-engine, bug-report, Blueprint, question\
**Created:** [May 6, 2015, 10:09am UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619 "2015-05-06T10:09:11Z")\
**Posts on this page:** 20\
**Page:** 1

<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:** [May 6, 2015, 10:09am UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/1 "2015-05-06T10:09:11Z")

</div>

Hi there,

blueprint editor doesn’t let me access inhertited variables from a parent blueprint:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/d/1edbf9f195276a79272ae77b8d9a96e63d5334b2.png)  
component is not marked as _private_ or something.

After a few minutes of research and slamming my head into a wall I discovered that you can at least access it by dragging out a pin and type name by hand _after unchecking context sensivity_:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/d/b/5db2f1be42dd062559b54e3647c2094ec27ece19.png)  
WTF? Please don’t tell me that this is intended behavior, that would be a disaster for my project as I would not be able to extend base classes with functionality any more then…

---

<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:** [May 6, 2015, 5:05pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/2 "2015-05-06T17:05:39Z")

</div>

Hi ,

I’m not sure why it would be intended behavior since it seems inconsistent with creating Get nodes for variables referencing components that aren’t inherited. I’ve put in a bug report for it (UE-15065), and I’ll let you know what happens with it.

It’s strange that Getter isn’t showing for you in search with Context Sensitive enabled. Are you searching with underscores? If so, try searching (with Context Sensitive enabled) for “get sm left door” (no underscores, using spaces instead) and see if it shows up. search is restricted to friendly names, I think.

---

<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:** [May 6, 2015, 5:42pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/3 "2015-05-06T17:42:06Z")

</div>

Hi , many thanks for your quick response as always.

I am searching exact same phrase in both cases.

---

<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:** [May 6, 2015, 5:50pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/4 "2015-05-06T17:50:19Z")

</div>

Okay, so I did a quick test in 4.7.6 by giving a parent a Static Mesh with name SM\_left\_door. In Child BP, I searched with Context Sensitive enabled, and it showed up regardless of whether I used underscores, spaces, or no spaces. Do you have Force Legacy Menuing System enabled in your Editor Preferences?

---

<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:** [May 6, 2015, 9:20pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/5 "2015-05-06T21:20:08Z")

</div>

Hi , I copied project over to another machine. On this machine, I get a hit even with context sensitive enabled. Maybe just a broken cache or something?

only difference is, that search doesn’t jump to correct result if I type name of variable exact as specified:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/f/a/9fa57e5ea38633581c82be5b7013ec10b3c307c9.png)  
If I type it without underscores, this works:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/2/c92c2aad737c39bcb11e6d17d01eb61732ec07f2.png)  
Without context sensitivity, I get variable as only result:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/1/ee1e04df7088e2e0925039a8cb5b9a1b361000db.png)

---

<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:** [May 6, 2015, 9:26pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/6 "2015-05-06T21:26:32Z")

</div>

Yep, it will highlight closest to what you’re typing, but actual Get node uses friendly name. I’m not sure why this is different on your machine, but my guess is an engine .ini setting somewhere. Did you check to see if Force Legacy Menuing System is enabled on your machine?

---

<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:** [May 7, 2015, 9:48am UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/7 "2015-05-07T09:48:16Z")

</div>

Hi ,

no, its not checked.

---

<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:** [May 11, 2015, 8:17pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/8 "2015-05-11T20:17:41Z")

</div>

Hey ,

Just a quick check: both of systems you tried this on had same version of UE4, yes? Have you checked this in 4.8p1 yet?

---

<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:** [May 11, 2015, 9:52pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/9 "2015-05-11T21:52:42Z")

</div>

Hi ,

yes, they were both 4.7.6. Did a quick check in 4.8.0p1: Same problem here:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/7/297a5a6204712f030708b6b11b6006f5190a74a3.png)  
It’s not possible to me to drag&drop inherited components to event graph.

---

<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:** [May 11, 2015, 9:56pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/10 "2015-05-11T21:56:41Z")

</div>

Right, that part we have reported in UE-15065, which hasn’t been fixed yet. At this point, I’m trying to track down what’s causing search issue for you on your system. Does that still happen in 4.8p1?

---

<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:** [May 12, 2015, 7:57am UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/11 "2015-05-12T07:57:34Z")

</div>

Hi ,

yes, it’s no difference to 4.7.6 (searching for ‘get S\_switchLightTech’) stops at first hit instead of getter.

---

<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:** [May 12, 2015, 9:50pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/12 "2015-05-12T21:50:05Z")

</div>

Okay, few more questions:  
Does search issue happen with any Blueprints, or only inherited ones? Are Blueprints they’re inherited from inherited from a native C++ class or another BP? If from a BP, please screenshot that BP’s Event Graph with variable selected. If it is from a native class, please give us code where property is declared and set in constructor. Thanks!

---

<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:** [May 20, 2015, 8:58pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/13 "2015-05-20T20:58:36Z")

</div>

Follow up: Drag & Drop still broken in UE 4.8.0 P3.

---

<div class="post-metadata">

**Author:** ![Slavq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Post date:** [June 17, 2015, 2:47pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/14 "2015-06-17T14:47:51Z")

</div>

Update: Same here, I can’t drag&drop inherited components in official 4.8 release. ‘Cannot place variable “…” in external scope ‘…’’ **Update: But it works and i can access it when i search for it via right mouse button click menu - so looks like only drag&drop doesn’t work.**

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_206c3bb8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_206c3bb8](https://forums.unrealengine.com/u/anonymous_user_206c3bb8)\
**Post date:** [August 19, 2015, 10:45pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/15 "2015-08-19T22:45:24Z")

</div>

Same here!

---

<div class="post-metadata">

**Author:** ![davek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davek](https://forums.unrealengine.com/u/davek)\
**Post date:** [August 22, 2015, 9:31am UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/16 "2015-08-22T09:31:56Z")

</div>

Is this still happening in 4.9.0 ? Is it worth moving onto that version ? This is a showstopper for me right now TBH.

---

<div class="post-metadata">

**Author:** ![davek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davek](https://forums.unrealengine.com/u/davek)\
**Post date:** [August 22, 2015, 9:42am UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/17 "2015-08-22T09:42:42Z")

</div>

OK guys, literally 5 minutes after posting my previous comment I found a workaround.  
Simply drag component into EventGraph from Components section of Variables UI group rather than more obvious component tree above it. That worked for me, even in 4.8.3.

---

<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:** [August 22, 2015, 2:05pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/18 "2015-08-22T14:05:14Z")

</div>

… or maybe someone could just fix that bug after more than 3 and a half months…? 😉

---

<div class="post-metadata">

**Author:** ![davek](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@davek](https://forums.unrealengine.com/u/davek)\
**Post date:** [August 22, 2015, 2:55pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/19 "2015-08-22T14:55:22Z")

</div>

Well that would be preferred solution but in its absence this workaround actually works around. 😉

---

<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:** [August 24, 2015, 6:32pm UTC](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619/20 "2015-08-24T18:32:07Z")

</div>

Hey davek,

This has been fixed for 4.9, and I believe fix has been integrated into latest Preview if you’d like to give it a try. Let us know if you still have this issue (drag and drop, UE-15065) after official release. Thanks!

[Next page](https://forums.unrealengine.com/t/4-7-6-blueprint-inhertited-variables-cant-be-accessed/317619.md?page=2)
