#Can't bake prefab entities to FixedListX collections.
1 messages · Page 1 of 1 (latest)
You can't use any containers in entity baking (they don't get serialized)
A fixed list probably works fine baking. But yes I doubt remapping works for them
A fixed array is not really a container.
Typemanager needs explicit offsets to be able to remap
A fixed list on a non singleton is really going to devastate your chunk size though
Why wouldn't a fixed array have an explicit offsets?
Search all structs with entity fields via reflection
The fixed list is just a collection of byte fields that are reinterpreted to T when requested
would it know how to remap a real fixed array instead of FixedListX, e.g. unsafe struct Foo { fixed Entity entities[5]; } ?
ever doubtful
but in this case that code doesn't even compile so completely valid doubts
🤔 Actually wat's the use case for FixedList when u ady have dynamic buffer?
arrays of arrays