# Warning: Unknown property in after changing variable in Structure

**URL:** <https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, editor, UE4, Blueprint, question\
**Created:** [April 15, 2016, 12:20pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291 "2016-04-15T12:20:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 15, 2016, 12:20pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/1 "2016-04-15T12:20:52Z")

</div>

I think this should be brought up as these seems to be a bug, after changing some variables in a blueprint Structure the log posts a load of warnings, and these come up every time i compile blueprint that use these Structures, my currently project logs around 200+ lines of these as i have changed/edited or added variables to my Structures.

```
Warning: Unknown property in InventoryItem: Strength_75_0501B0854829642FFD33308F0CA4BA8A=0,Dexterity_76_EA2FB9DA4D578697BB9EBEB68971CF74=0,Intelligence_77_9022AF064DCBC523BF2829A8B9E7771B=0) 
Warning: Unknown property in InventoryItem: Dexterity_76_EA2FB9DA4D578697BB9EBEB68971CF74=0,Intelligence_77_9022AF064DCBC523BF2829A8B9E7771B=0) 
Warning: Unknown property in InventoryItem: Intelligence_77_9022AF064DCBC523BF2829A8B9E7771B=0) 
Warning: Unknown property in ItemInformation: Quality_39_CBD1FAA54940E088B192D7A42622FDA0=NewEnumerator1,Amount_96_5BD0F40343BC83E7582405A59DEF24E8=1) 
Warning: Unknown property in ItemInformation: Amount_96_5BD0F40343BC83E7582405A59DEF24E8=1)
```

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [April 15, 2016, 4:51pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/2 "2016-04-15T16:51:24Z")

</div>

Hi OverRated\_AU,

I have seen a similar issue if a variable starts with a space. Can you double check the Variables that the warnings are referencing and see if they contain a space at the beginning?

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 15, 2016, 6:13pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/3 "2016-04-15T18:13:45Z")

</div>

Nope no spacing, this is how many warnings i get from my player controller lol these seem to all be in memory as my project works just fine.

link text

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [April 16, 2016, 10:24pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/4 "2016-04-16T22:24:13Z")

</div>

I have had lots of problems like this. Definitely bugs. If you can find a reliable way to produce the bug, you should definitely add that here so we can an actual fix.

Workarounds

- Sometimes, deleting the variable and recreating it will fix the problem.
- Recreating the blueprints that emit the error have always fixed it for me. DON’T duplicate your blueprint. It just duplicates the problem. Create a new blueprint with the same parent class as the one you’re duping. Create all the variables and set their defaults. Create all the functions and set their input/output paramaters and create their local variables. Then you can copy/paste your event graphs from the original blueprint to the new ones with 99% of them “just working”.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 17, 2016, 2:56am UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/5 "2016-04-17T02:56:33Z")

</div>

The problem with recreating them is that these Structures are used in multiply places and replacing them is simple job it would take a lot of time, there should be away to clean these up without doing that, If Epic wants to track this bug down all they need to do is download the action RPG Inventory System and compile the InventoryManagerComponent and it will show.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [April 18, 2016, 8:14pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/6 "2016-04-18T20:14:59Z")

</div>

Have either of you seen these warning outside of a project that contains the RPG Inventory System?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [April 18, 2016, 8:31pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/7 "2016-04-18T20:31:31Z")

</div>

Yes, any blueprint project I have ever worked on. I have never used the RPG Inventory System.

I used to rename variables. A lot – until I realized the errors seem to correlate with renaming. Now I try not to rename variables.

Maybe I can come up with something reproducible…

I do my blueprinting on a Mac, by the way.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 19, 2016, 2:10pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/8 "2016-04-19T14:10:59Z")

</div>

Ill have to see if i can reproduce the bug in a new project, I’m unsure what the source of the warning are but i have tried removing the variables and re-adding them which just adds to the warnings, it seems to happen if any of the variables are changed or removed, ill try to strip down the RPG Inventory to see if i can find the source of the problem, these structures are used though out the project and also on UMG widgets.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_48f2118e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_48f2118e](https://forums.unrealengine.com/u/anonymous_user_48f2118e)\
**Post date:** [April 19, 2016, 10:33pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/9 "2016-04-19T22:33:19Z")

</div>

I was able to reproduce a similar (maybe related) condition. I posted it as its own bug report here: [4.11.2: Failed Blueprint Import - Reproducible - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/407784/4112-failed-blueprint-import-reproducible.html)

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 19, 2016, 11:29pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/10 "2016-04-19T23:29:19Z")

</div>

I don’t think these are related this bug on discussion is to do with structures variables being changed or removed.

---

<div class="post-metadata">

**Author:** ![CriErr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CriErr](https://forums.unrealengine.com/u/CriErr)\
**Post date:** [April 20, 2016, 12:34am UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/11 "2016-04-20T00:34:48Z")

</div>

Have same issue all the time, but it just go away after recompile and reopen project.

Important note: If you use structure in interface, you need to compile interface before closing project or it would break all connections between structure and interface.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 20, 2016, 12:57am UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/12 "2016-04-20T00:57:30Z")

</div>

Adding to a structure will not break connections but you will have to connect your new varibles up if your building the structure any where, i wonder if the problem is related to saved variables of that structure not being updated correctly.

---

<div class="post-metadata">

**Author:** ![CriErr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CriErr](https://forums.unrealengine.com/u/CriErr)\
**Post date:** [April 20, 2016, 1:22am UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/13 "2016-04-20T01:22:30Z")

</div>

Dunno, working on project for 6 month or something, happens to me a lot.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 20, 2016, 7:48am UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/14 "2016-04-20T07:48:14Z")

</div>

OK I can confirm that its structure variables which are producing these warnings. I just fixed a few by setting the variable to a Boolean then compiling then setting it back to the structure then reconnecting the wires then compiling again. It seems when you change a structure the references to the following structure leave behind the old variable references in memory? so we can class this as a bug as these references should be getting cleaned up in the process, I hope this bug gets looked at as i hate to have to redo all my structure references each time i change the main structure.

---

<div class="post-metadata">

**Author:** ![TJ\_V](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tj_v/32/1008648_2.png) [@TJ\_V](https://forums.unrealengine.com/u/TJ_V)\
**Post date:** [April 26, 2016, 12:18pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/15 "2016-04-26T12:18:47Z")

</div>

HI OverRated\_AU,

Any luck creating a test case for these warnings?

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 26, 2016, 5:06pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/16 "2016-04-26T17:06:55Z")

</div>

I couldn’t reproduce it on a new project, but i did take 2 assets from the ARPG Inventory and reproduced it in a blank project, this should make it easier to be fixed.

**EDIT:**

**Well i just reproduced the bug on a new project with 2 new files with a similar setup, project link is below. Compiling the UMG widget will produce the warnings**

> **[Sync | Secure cloud storage that protects your privacy](https://cp.sync.com/dl/c42cdd850#jiv8cug9-jdjmtx3s-jbp78g9e-67dqwxfk)**

---

<div class="post-metadata">

**Author:** ![CriErr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CriErr](https://forums.unrealengine.com/u/CriErr)\
**Post date:** [April 26, 2016, 5:21pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/17 "2016-04-26T17:21:41Z")

</div>

What exactly wrong with that project? I rename add and remove variables from struct and it compiles perfectly.

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 26, 2016, 6:12pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/18 "2016-04-26T18:12:40Z")

</div>

Thats not the point the point is it compiles with warnings which show in the log, in large projects with lots of structure changes it can get annoying.

---

<div class="post-metadata">

**Author:** ![CriErr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CriErr](https://forums.unrealengine.com/u/CriErr)\
**Post date:** [April 26, 2016, 6:34pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/19 "2016-04-26T18:34:37Z")

</div>

Yes, i can see it now, had it before, but i don’t quite remember how i got rid of it, i guess i remake everything, that’s only workaround?

---

<div class="post-metadata">

**Author:** ![OverRated\_AU](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/overrated_au/32/1008648_2.png) [@OverRated\_AU](https://forums.unrealengine.com/u/OverRated_AU)\
**Post date:** [April 26, 2016, 7:06pm UTC](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291/20 "2016-04-26T19:06:27Z")

</div>

Each time you change the structure you need to remove and add back the varaible to the UMG file, but once you change the structure again you find your self doing this fix each time, and if that one structure is used and tied in with other blueprints this can get annoying and very time consuming for just fixing a warning.

[Next page](https://forums.unrealengine.com/t/warning-unknown-property-in-after-changing-variable-in-structure/354291.md?page=2)
