# Default value of custom structure in blueprint corrupts project

**URL:** <https://forums.unrealengine.com/t/default-value-of-custom-structure-in-blueprint-corrupts-project/303988>\
**Category:** Blueprint\
**Tags:** corrupt, default-value, unreal-engine, crash, question, Blueprint\
**Created:** [January 14, 2015, 10:21pm UTC](https://forums.unrealengine.com/t/default-value-of-custom-structure-in-blueprint-corrupts-project/303988 "2015-01-14T22:21:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [January 14, 2015, 10:21pm UTC](https://forums.unrealengine.com/t/default-value-of-custom-structure-in-blueprint-corrupts-project/303988/1 "2015-01-14T22:21:29Z")

</div>

I’m using 4.7 Preview 3 right now. I have a custom structure using three variables: an enumerator entry, a class of a blueprint which has another blueprint I made as parent class and a userwidget. Everything seems to work until I go to my blueprint called “Database” (a simple actor for storing data, read-only) which has an array variable using this structure. I need to fill default value of it with data. I tried using other methods but they resulted in problems and that’s another issue and default values should not cause troubles so I stay with that approach. When I close project and reopen it, I get this:

* * *

```
[2015.01.14-22.16.32:687][0]LogProperty:Error: UStructProperty::Serialize Loading: Property 'StructProperty /Game/Blueprints/SaveMap.SaveMap_C:Designs.Designs'. Unknown structure.
[2015.01.14-22.16.33:524][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:524][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:528][0]LogBlueprint:Warning: [compiler] Warning [0013.86] Compile of DesignerLoadMenu failed. 2 Fatal Issue(s) 0 Warning(s) [in 14 ms]
[2015.01.14-22.16.33:546][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:549][0]LogBlueprint:Warning: [compiler] Warning [0013.88] Compile of DesignerNewMenu failed. 1 Fatal Issue(s) 0 Warning(s) [in 7 ms]
[2015.01.14-22.16.33:631][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:635][0]LogBlueprint:Warning: [compiler] Warning [0013.97] Compile of DesignerFunctionSettings failed. 1 Fatal Issue(s) 0 Warning(s) [in 10 ms]
[2015.01.14-22.16.33:958][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:958][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:958][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:959][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:959][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:960][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.33:987][0]LogBlueprint:Warning: [compiler] Warning [0014.32] Compile of DesignerMenu failed. 6 Fatal Issue(s) 0 Warning(s) [in 103 ms]
[2015.01.14-22.16.34:072][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.34:073][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.34:073][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.34:081][0]LogBlueprint:Warning: [compiler] Warning [0014.42] Compile of DesignerSaveMenu failed. 3 Fatal Issue(s) 0 Warning(s) [in 26 ms]
[2015.01.14-22.16.34:316][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.34:347][0]LogBlueprint:Warning: [compiler] Warning [0014.68] Compile of DesignerPlayer failed. 1 Fatal Issue(s) 0 Warning(s) [in 118 ms]
[2015.01.14-22.16.34:989][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.34:989][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.34:992][0]LogBlueprint:Warning: [compiler] Warning [0015.33] Compile of EditorEntityListItem failed. 2 Fatal Issue(s) 0 Warning(s) [in 8 ms]
[2015.01.14-22.16.35:223][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:223][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:224][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:224][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:224][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:225][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:247][0]LogBlueprint:Warning: [compiler] Warning [0015.58] Compile of EditorMenu failed. 6 Fatal Issue(s) 0 Warning(s) [in 79 ms]
[2015.01.14-22.16.35:464][0]LogBlueprint:Error: [compiler] Error Function 'GetActors' called from Get Actors should not be called from a Blueprint
[2015.01.14-22.16.35:485][0]LogBlueprint:Warning: [compiler] Warning [0015.82] Compile of EditorPlayer failed. 1 Fatal Issue(s) 0 Warning(s) [in 95 ms]
[2015.01.14-22.16.36:135][0]LogWindows: === Critical error: ===
Fatal error!

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000029

```

* * *

Previously variable was just disappearing when reopening project until I compiled database blueprint. But now I either have to delete and redo half of my widgets and blueprints or use a backup version. I hope this can be fixed somehow. Let me know how I can help. I can send you project, I just don’t want to make it available for everyone. Thank you in advance!

---

<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:** [January 15, 2015, 11:50pm UTC](https://forums.unrealengine.com/t/default-value-of-custom-structure-in-blueprint-corrupts-project/303988/2 "2015-01-15T23:50:28Z")

</div>

Hi DasMatze,

I haven’t been able to reproduce this behavior, but I may not be setting it up correctly. Does this happen in a new project, or only your current project? If you’re able to set up a small test project in which this occurs, please upload it somewhere and let us have a download link. This would be preferable to your whole project, as it will be easier for us to debug.

Also please and attach crash log you get from this. Thanks!

---

<div class="post-metadata">

**Author:** ![DasMatze](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DasMatze](https://forums.unrealengine.com/u/DasMatze)\
**Post date:** [January 16, 2015, 3:15pm UTC](https://forums.unrealengine.com/t/default-value-of-custom-structure-in-blueprint-corrupts-project/303988/3 "2015-01-16T15:15:22Z")

</div>

I tried cloning project and deleting everything unnecessary but it appears I cannot reproduce it either. There might be too much connected to this error. I better close this and try to catch needed data via data tables even though 4.7’s data row editor doesn’t seem to support asset values at this time.

Sorry if I wasted your time.

---

<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:** [January 16, 2015, 6:58pm UTC](https://forums.unrealengine.com/t/default-value-of-custom-structure-in-blueprint-corrupts-project/303988/4 "2015-01-16T18:58:12Z")

</div>

It’s not a waste of our time if it helps you! If you’re able to reproduce this reliably, please let us know and we’ll continue investigating. Thanks!
