How to serialize UObjects referenced in properties of custom asset

I have created a custom editor graph, that fills an array of UObjects inside another UObject.
Let’s call them BarDay and an array of BarEvents, that it holds. It works inside editor, I can access UBarDay and get any UBarEvent from the array.

After I packaged project, I plugged debugger in and figured that every element in array of UBarEvents is nullptr. The number of elements is correct.

I’ve tried to add Transient property to UBarEvent (which is actually an abstract base class for all events I use) it didn’t help. But that was a shot in the dark, since I’m not even fully understand what it does.

I think It has something to do with UBarEvent objects being saved inside UBarDay object, which is saved as uasset. Probably I should either add some property specifier to array or some specifier to one of the classes, but that’s just a guess.

Ok, there’s actually nothing special I had to do. The problem was with the Outer. I needed to set UBarDay object as an outer for all UBarEvents that were created inside of it. After changing it, TArray on packaged build had correct elements.