Similar to what DasMatze posted. CustomStructure can corrupt the project. I’ve created a sample project showing an Actor with a CustomStructure I’ve made. I’ve included log reports from a different project I’m working on experiencing the same issue.
CustomStructure Bug Sample Project: CustomStructBug
Engine Version: 4.61
Instructions to Completion:
-
Create CustomStructure.
-
Create Interface with Function
returning CustomStructure. -
Create UserWidget with
CustomStructure and Implement
Interface & Populate Function -
Create Actor Class that Spawns the
UserWidget, and get the
CustomStructure using the Interface. -
Make Changes to CustomStructure.
-
Compile Dirty Blueprints.
-
Save All.
-
Place Actor Within Level.
-
Reload Project.
I believe this bug report is related to DasMatze.
Project Log Reports:
[2015.02.09-03.37.54:154][126]LogContentBrowser:Verbose: The content browser source was changed by the sources view to ‘/Game/StarterContent’
[2015.02.09-03.38.04:984][780]LogProperty:Error: UStructProperty::Serialize Loading: Property ‘StructProperty /Game/StarterContent/Interface.Interface_C:GetStruct.return’. Unknown structure.
[2015.02.09-03.38.05:005][780]LogBlueprint:Error: [compiler] Error Invalid property ‘return’ structure ‘newStruct’ error: Struct ‘UserDefinedStruct /Game/StarterContent/newStruct.newStruct’ is empty
[2015.02.09-03.38.05:006][780]LogBlueprint:Error: [compiler] Error Failed to create property return from Return due to a bad or unknown type (New Struct Structure)
[2015.02.09-03.38.05:007][780]LogBlueprint:Warning: [compiler] Warning [0040.11] Compile of Interface failed. 2 Fatal Issue(s) 0 Warning(s) [in 1 ms]
[2015.02.09-03.38.05:007][780]LogLinker:Warning: BoolProperty_97 has an inappropriate outermost, it was probably saved with a deprecated outer.
[2015.02.09-03.38.05:018][780]LogProperty:Error: UStructProperty::Serialize Loading: Property ‘StructProperty /Game/StarterContent/aWidget.aWidget_C:GetStruct.return’. Unknown structure.
[2015.02.09-03.38.05:018][780]LogProperty:Error: UStructProperty::Serialize Loading: Property ‘StructProperty /Game/StarterContent/aWidget.aWidget_C:coolStruct’. Unknown structure.
Related Log Reports:
[2015.02.09-02.23.13:650][ 0]LogLinker:Warning: ByteProperty_119 has an inappropriate outermost, it was probably saved with a deprecated outer.
[2015.02.09-02.23.13:661][ 0]LogLinker:Warning: StructProperty_786 has an inappropriate outermost, it was probably saved with a deprecated outer.
[2015.02.09-02.23.13:661][ 0]LogLinker:Warning: TextProperty_63 has an inappropriate outermost, it was probably saved with a deprecated outer.
[2015.02.09-02.23.13:666][ 0]LogProperty:Error: UStructProperty::Serialize Loading: Property ‘StructProperty /Game/Blueprints/*****’. Unknown structure.
[2015.02.09-02.23.14:933][ 0]LogBlueprint:Error: [compiler] Error Variable node Set Parent uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.
[2015.02.09-02.23.15:358][ 0]LogBlueprint:Warning: ExposeOnSpawn ambiguity. Property ‘IntProperty /Engine/Transient.REINST__C_19:’, MetaData ‘False’, Flag ‘True’
[2015.02.09-02.23.15:444][ 0]LogBlueprint:Error: [compiler] Error COMPILER ERROR: failed building connection with ‘***** Reference is not compatible with ***** Reference.’ at Create Widget
[2015.02.09-02.23.15:492][ 0]LogBlueprint:Error: [compiler] Error This blueprint (self) is not a *****_C, therefore ’ Target ’ must have a connection