Skip to content

Non-overriden function Remove(key, out value) cause problem with serialization #14

@Elfteiroh

Description

@Elfteiroh

SerializedDictionary doesn't override the generic dictionary function to remove a value and get it as an "out" parameter.
public bool Remove(TKey key, out TValue value)
This caused me problems when I used it and everytime the serialization was refreshed, the removed element came back. Took me some time to figure that one out. xD

I'm on Unity 6, I don't know if that was always there or if this is new.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions