Skip to content
Discussion options

You must be logged in to vote

The fields may reference the same instance. When Unity duplicates a collection element, the copy can retain references to the same managed objects within the component or asset. This can also happen when the managed reference is nested inside an ordinary serializable collection element.

To create an independent instance, clear the newly added managed-reference field and select its type again, or use Copy followed by Paste Type and Values on that field.

If new entries must always start empty, initialize their managed-reference fields in your custom Inspector's collection-add handler. SubclassSelector draws the individual fields and preserves shared references, which can be intentional in a…

Replies: 1 comment

Comment options

mackysoft
Oct 20, 2026
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by mackysoft
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant