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

Wrong inspector values under mono by using exported variables with get and set method #48197

Closed
kalysti opened this issue Apr 25, 2021 · 4 comments

Comments

@kalysti
Copy link
Contributor

kalysti commented Apr 25, 2021

Godot version:
4.0

OS/device including version:
Vulkan

Issue description:
Wrong inspector values under mono by using exported variables with get and set method.

Steps to reproduce:
1.) Create a partial class of a resource
2.) Add a new value with the attribute [export] with an get an set method
float _test = 0.5f;
public float test { get { return _test; } set { _test = value; } }
3.) Attach the resource as an exported variable to a test class
3.) Enjoy the issue
image

Minimal reproduction project:
not requried

@kalysti
Copy link
Contributor Author

kalysti commented Apr 26, 2021

Related to: #37812

Another bug, but comes form the same issue. I working on a pr

@aaronfranke
Copy link
Member

@sboron Are you still working on a PR?

@raulsntos
Copy link
Member

This might've been fixed by #53975, can you check if it still happens?

@raulsntos
Copy link
Member

Closing due to lack of response. Please comment if you can still reproduce this bug.

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

No branches or pull requests

4 participants