Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project settings type does not match what is added #48045

Closed
indubitablement2 opened this issue Apr 20, 2021 · 2 comments · Fixed by #48048
Closed

project settings type does not match what is added #48045

indubitablement2 opened this issue Apr 20, 2021 · 2 comments · Fixed by #48048

Comments

@indubitablement2
Copy link

Godot version:
Godot_v3.3-rc9_win64

Tested on Godot_v3.2.3-stable_win64 without issue.

Issue description:
When adding new project setting, type name does not always match what is added. For example, adding an array will add a dictionary.

Steps to reproduce:
lsVzVQigCa

@akien-mga
Copy link
Member

That's very likely a regression from #42616, which removes two entries from the list but doesn't handle the code which then actually creates those Variant types (most likely by assuming that their OptionButton index matches their Variant index).

@Xrayez
Copy link
Contributor

Xrayez commented Apr 20, 2021

I think there are many such assumptions throughout Godot editor. A warning in the project settings should suffice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants