Hard object reference to DataAsset is sometimes null in packaged build

nullObjectPtr
Tue, 15 Dec 2020 23:28:48 +0000
Editor Scripting

We are seeing problems with some actors in our levels that have Hard Object References to DataAssets. The references to the DataAsset references are showing up as null on occasion on cooked builds but never in the editor. The behavior is not consistent. Sometimes after a bit of work in the editor, the references start resolving to the correct assets again.

At a loss as to what might explain this. Documentation suggests that hard object references should be pretty foolproof. My best guess is that this is either a serialization issue or a cooker issue. Is there anyone who can shed some light on this? Or suggest some strategies for debugging this?

7 posts - 1 participant