ayellowpaper / SerializedDictionary

MIT License
54 stars 10 forks source link

Error "Number of parameters specified does not match the expected number" #6

Open momvov opened 6 months ago

momvov commented 6 months ago

SCEditorUtility class HasDrawerForType method 81 line

Added this argument and that fixed. Unity 2023.2.18f1

image

jacobfdunbar commented 6 months ago

Having the same issue in recent 2022 LTS releases (2022.3.27f1 specifically).

Vivraan commented 5 months ago

SCEditorUtility class HasDrawerForType method 81 line

Added this argument and that fixed. Unity 2023.2.18f1

image

Please make a PR.

Luca3317 commented 4 months ago

I opened a PR for this before seeing this issue: https://github.com/ayellowpaper/SerializedDictionary/pull/9

Pre 2022.3 still uses only the type argument, newer than that and it will check the method definition whether the second parameter is required (since it seems this was only changed in 2022.3.25).