You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug:
Before anything: i am using the latest version of gdevelop as of now
Some object variables permanently become “Mixed values” in the Object Variables editor.When editing affected variables (such as Damage, FireRate, or R_Time), entering a new value and pressing Apply immediately changes the field back to “Mixed values”. The new value is not written to the project file.Inspecting game.json shows that the affected variables contain an unexpected property:“hasMixedValues”: trueThis property appears to be saved into the project file and causes the editor to always display “Mixed values” for those variables.The issue affects some objects but not others. Creating a brand-new object works normally at first.
Additional observations:
Newly created objects initially work correctly.
The issue seems to affect weapon/item objects in this project.
The project contains over 30 occurrences of “hasMixedValues”: true inside variable definitions.
NOTE: could not really share a simple project, im sharing a partial of my current project i am working because i do not know how to recreate the bug. not all objects have the error, but the object with an error is the glock 17, on the damage variable
Steps to reproduce
Steps to reproduce
Open the attached project.
Open the object “glock17”.
Open Object Variables.
Try changing Damage, FireRate or R_Time.
Click Apply.
(damage may be able to change)
Reopen the variables.Expected:The edited values should be saved.
Actual:The variables immediately return to “Mixed values”, and the project file is not updated.
I'm not referring to editing variables on an object group. I understand that object groups intentionally show "Mixed values" when their members differ.
My issue is with individual objects.
For example, if I open the glock17 object itself (not the group), edit an object variable such as Damage, FireRate, or R_Time, click Apply, then reopen the object, the value has reverted to Mixed values again.
The corresponding values are also never written to game.json.
I confirmed this by checking game.json, where these variables still have "hasMixedValues": true.
This only affects some weapon objects in my project. Other objects can still have their variables edited normally.
EDIT:
i have found a clearer way to remake the bug inside my project
make a new object
put the object into the "Items" group object
try changing variables with "mixed values" as their value
apply and check the weapon again
if im not wrong, the bug should occour
I do not know how to reply to comments so all updates or replies i will make here
EDIT 2:
I did some more investigation.
I manually removed every "hasMixedValues": true entry from game.json, reopened the project, and confirmed they were gone.
After creating a new weapon and adding it to the ITEMS object group, the "hasMixedValues" entries were generated again by GDevelop.
So the issue is not stale data left in the JSON file—the editor is recreating it.
I'm currently narrowing down whether this is caused by a specific object in the ITEMS group or by the object-group synchronization itself.
Is there an existing issue for this?
Describe the bug
Describe the bug:
Before anything: i am using the latest version of gdevelop as of now
Some object variables permanently become “Mixed values” in the Object Variables editor.When editing affected variables (such as Damage, FireRate, or R_Time), entering a new value and pressing Apply immediately changes the field back to “Mixed values”. The new value is not written to the project file.Inspecting game.json shows that the affected variables contain an unexpected property:“hasMixedValues”: trueThis property appears to be saved into the project file and causes the editor to always display “Mixed values” for those variables.The issue affects some objects but not others. Creating a brand-new object works normally at first.
Additional observations:
Newly created objects initially work correctly.
The issue seems to affect weapon/item objects in this project.
The project contains over 30 occurrences of “hasMixedValues”: true inside variable definitions.
NOTE: could not really share a simple project, im sharing a partial of my current project i am working because i do not know how to recreate the bug. not all objects have the error, but the object with an error is the glock 17, on the damage variable
Steps to reproduce
Steps to reproduce
Open the attached project.
Open the object “glock17”.
Open Object Variables.
Try changing Damage, FireRate or R_Time.
Click Apply.
(damage may be able to change)
Reopen the variables.Expected:The edited values should be saved.
Actual:The variables immediately return to “Mixed values”, and the project file is not updated.
I have no known way on how this works.
And i can not reproduce this bug.
(sorry i cant recreate it, i sent my game file but removed the game code)
https://github.com/user-attachments/assets/9cec338b-d84d-4784-9668-919a6c2c2208
2026-07-05.21-47-55.mp4
bugtest.zip
GDevelop platform
Desktop
GDevelop version
5.6.273
Platform info
Details
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
I'm not referring to editing variables on an object group. I understand that object groups intentionally show "Mixed values" when their members differ.
My issue is with individual objects.
For example, if I open the glock17 object itself (not the group), edit an object variable such as Damage, FireRate, or R_Time, click Apply, then reopen the object, the value has reverted to Mixed values again.
The corresponding values are also never written to game.json.
I confirmed this by checking game.json, where these variables still have "hasMixedValues": true.
This only affects some weapon objects in my project. Other objects can still have their variables edited normally.
EDIT:
i have found a clearer way to remake the bug inside my project
if im not wrong, the bug should occour
I do not know how to reply to comments so all updates or replies i will make here
EDIT 2:
I did some more investigation.
I manually removed every "hasMixedValues": true entry from game.json, reopened the project, and confirmed they were gone.
After creating a new weapon and adding it to the ITEMS object group, the "hasMixedValues" entries were generated again by GDevelop.
So the issue is not stale data left in the JSON file—the editor is recreating it.
I'm currently narrowing down whether this is caused by a specific object in the ITEMS group or by the object-group synchronization itself.