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

Variables crash #7129

Closed
VegeTato opened this issue Nov 5, 2024 · 4 comments · Fixed by #7132
Closed

Variables crash #7129

VegeTato opened this issue Nov 5, 2024 · 4 comments · Fixed by #7132
Labels
🐛 bug This is a bug impacting users 💥crash Bug that is crashing the software

Comments

@VegeTato
Copy link
Contributor

VegeTato commented Nov 5, 2024

Describe what you were doing when the crash happened

1- Create a new object (any type).
2- Open events.
3- Use Condition or action object variable.
4- Declare that object variable.
5- Delete the object.
6- Go back to events.
7- Select the variable and click (Add or edit variables).
8- Crash !

GDevelop version

Latest released one (auto update not manual)

Platform info

No response

Additional error context

No response

Additional component context

No response

@4ian 4ian added 🐛 bug This is a bug impacting users 💥crash Bug that is crashing the software labels Nov 5, 2024
@ClementPasteau
Copy link
Collaborator

Thanks for reporting @VegeTato

I can reproduce this with easier steps:

  • create an empty project
  • add an action "Change variable value" for objects
  • do not fill the object name / put anything in there
  • click on either the "variables icon" or the "+ add or edit variables" in the variables field

The problem comes from the ObjectVariableField opening up the ObjectVariablesDialog even if the objectName may not link to an object.

Enregistrement.de.l.ecran.2024-11-06.a.14.18.14.mov

Error is Cannot read properties of undefined (reading 'resetPersistentUuid') in useSerializableObjectsCancelableEditor

@ClementPasteau
Copy link
Collaborator

Should be fixed in next release, thanks :)

@Davi-Fiorini

This comment was marked as off-topic.

@Davi-Fiorini

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug impacting users 💥crash Bug that is crashing the software
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants