Serialize array of generated components

how would one go for such serialization to assign objects directly on unity e.g.

mycomponentArray?: MyGeneratedComponent;

Original Post on Discord

by user 262331051802755072

You write it without the array syntax, like so: @serializable(MyComp)

And if you just created MyGeneratedComponent you might need to set the types dirty (you can do it by holding ALT and then clicking play on the ExportInfo component)