Unity-SerializableDictionary icon indicating copy to clipboard operation
Unity-SerializableDictionary copied to clipboard

Not working in 2022.2.10 ?

Open SorenAndreasen opened this issue 1 year ago • 2 comments

I have followed the instructions for creating a simple <String, String> SerializableDictionary - but no matter what I do, clicking on the "+" icon in the inspector to add a new key or value does absolutely nothing. this is my class:

[Serializable]
public class ssDict : SerializableDictionary<string, string> { }

and this is how i use it:

public class Character : MonoBehaviour
{
    public ssDict NameStringDictionary = new ssDict();
..

SorenAndreasen avatar Apr 26 '23 09:04 SorenAndreasen

Same issue in 2021.3.7f1, first tried in a <string, GameObject> dict, then a <string, string> dict, the issue persisted.

emredesu avatar Jun 28 '23 12:06 emredesu

Have you copied the file from the Editor folder as well? https://github.com/azixMcAze/Unity-SerializableDictionary/tree/master/Assets/SerializableDictionary/Editor

silviugeorgian77 avatar Nov 13 '23 08:11 silviugeorgian77