[5.7] Instanced property, parent properties are getting serialized in a child class with a different instanced object

Hello :slight_smile: I was investigating some non determinism issues in my project, and i went by an asset where the FText key was changing between cook, like so (uexp)

[Image Removed]

problem beeing, this data should not even be there in the first place, we have an uproperty like so in a cpp class

[Image Removed]

and then we have 2 blueprints, a base class which is settings a default value for this data

[Image Removed]

and then we have a child class, which override the parent class data by this

[Image Removed]

the text i’m seeing is coming from the base class and somehow got serialized inside the child class uexp, is it something known and have been fixed in 5.8 or main maybe ?

[Attachment Removed]

This might have been the result of the migration or a 5.5 bug, maybe the assets were in a bad state, we fixed it, both the determinism issue and the wrong serialization, by resetting to None in the base class, compile and save (including childs), then redo it

[Attachment Removed]

I’m glad to hear you worked around it .

For what it’s worth, parent subobjects ending up on the derived asset as a bug isn’t completely unheard of. Inheritance of properties, including UPROPERTY references to subobjects, work by first inheriting from parent to child: first inheritance is applied to the child, then overrides restored. If overrides fail to restore, data loss occurs.

Since the problem is related to cook determinism, this bug and this fix might be relevant. Either way, glad to hear you’re unblocked.

[Attachment Removed]

Thanks :slight_smile: Yeah i saw some stuff related to that in 5.8 and beyond, but nothing that was matching exactly the problem i was facing, and since it was fixed by redoing it, let’s assume it was migration stuff, they were other assets like theses that never got issues :slight_smile:

Ahah, actually this fix is related to a previous ticket of mine :slight_smile: but thanks anyway :slight_smile:

[Attachment Removed]

Oh! I didn’t realize that was an earlier report of yours. Thanks for reporting these. :slight_smile: Since you’ve self solved, I’ll close this.

[Attachment Removed]

Ahah no worries :slight_smile: and you’re welcome :slight_smile:

[Attachment Removed]