Variable not showing

Hello,
I started working with UMG today. When i started building Widget blueprint i was unable to access variables in mycharacter blueprint even though they were not private. Wasted alot of time. And finally when I made variable editable i could access it in Widget blueprint. Is this some kind of bug? or was just made like this?

Hi Suhaib Rehman,

This is expected behavior. private checkbox in details pane allows child blueprints to alter variables that they inherit. editable icon (yellow eye) allows them to be used and altered by other blueprints that are not a part of blueprint actors children.

In UMG Inventory tutorial which is I think on earlier version, this was not case. Without making it editable it was used in widget blueprint.

Hi Suhaib,

This was changed in 4.6, so it won’t match up with older videos. In 4.6, if you want to access a BP’s variable from another BP, it must be marked ‘Editable’.

After much internal discussion among devs, this has reverted to previous behavior (not requiring variables to be marked as Editable to access them in other BPs) in 4.7.

Hope that helps!

Yea that is what i wanted know. Well its just that there is “private” checkbox too which makes variable private and since editable is used so we can make changes to variable values without opening blueprint, it was quite confusing. But its good to know in 4.7 it will be reverted. Thanks