# BUG \[4.7.5\] Struct variables fail in Standalone Game

**URL:** <https://forums.unrealengine.com/t/bug-4-7-5-struct-variables-fail-in-standalone-game/315506>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [April 18, 2015, 9:28am UTC](https://forums.unrealengine.com/t/bug-4-7-5-struct-variables-fail-in-standalone-game/315506 "2015-04-18T09:28:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Suhnder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Suhnder](https://forums.unrealengine.com/u/Suhnder)\
**Post date:** [April 18, 2015, 9:28am UTC](https://forums.unrealengine.com/t/bug-4-7-5-struct-variables-fail-in-standalone-game/315506/1 "2015-04-18T09:28:11Z")

</div>

I’m able to reproduce this pretty easily.

1. Create a struct blueprint and set some variables.
2. Make a variable of that struct’s type in another blueprint
3. Get that variable and pass it through a print string.

It works in play in editor and in a packaged game, but NOT in standalone game.

Here’s a test project file:  
[https://dl.dropboxusercontent.com/u/4822771/TestStandaloneBug.rar](https://dl.dropboxusercontent.com/u/4822771/TestStandaloneBug.rar)

---

<div class="post-metadata">

**Author:** ![Hawk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Hawk](https://forums.unrealengine.com/u/Hawk)\
**Post date:** [April 18, 2015, 3:36pm UTC](https://forums.unrealengine.com/t/bug-4-7-5-struct-variables-fail-in-standalone-game/315506/2 "2015-04-18T15:36:44Z")

</div>

I’m also running into this, hopefully a fix is on it’s way soon. Until then I’ll just have to make sure to test in viewport. Thanks for posting this.

---

<div class="post-metadata">

**Author:** ![Justin.Dooley](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/justin.dooley/32/1194553_2.png) [@Justin.Dooley](https://forums.unrealengine.com/u/Justin.Dooley)\
**Post date:** [April 18, 2015, 9:05pm UTC](https://forums.unrealengine.com/t/bug-4-7-5-struct-variables-fail-in-standalone-game/315506/3 "2015-04-18T21:05:13Z")

</div>

We are having a similar problem but with C++ structs. Instead they work in editor and standalone but not packaged. This only happens when a child of a class modifies the defaults of the struct.

---

<div class="post-metadata">

**Author:** ![John\_Alcatraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@John\_Alcatraz](https://forums.unrealengine.com/u/John_Alcatraz)\
**Post date:** [April 19, 2015, 1:21am UTC](https://forums.unrealengine.com/t/bug-4-7-5-struct-variables-fail-in-standalone-game/315506/4 "2015-04-19T01:21:12Z")

</div>

It’s a known bug and Epic does not want to fix this in 4.7, but it will be fixed in 4.8.
