-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Static variables aren't updated. #1416
Comments
Looks like a duplicate of #1268 |
Yes apparently, did you manage to work around this issue because its still open from 2021? |
I didn't find any workaround. I just replaced static properties with getter/setter, that is ugly but working solution. |
Lua: 5.1
Sol2: latest
C++ side:
Binding:
Lua side:
Do I need to use a property instead?
Edit: even using a property isn't calling the setter.
The text was updated successfully, but these errors were encountered: