-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Resource on dictionary not represented correctly in the inspector. It shows as a number instead of an object #92533
Comments
Bisecting points to #88231 as the culprit: Here is how the inspector would look in a normal build: And here how is looking with this bug: |
I'm on vacation en and can't debug it. I'll handle it when coming back on the 20. But if someone wish to look into it before hand this looks like an object being represented as RID and the inspector not detecting it properly and dealing with it as a number hence the warning. |
Changed the title on the bug to be more detailed |
It only happens at runtime. The Resource shows correctly in the editor. |
I tracked it down to this code (6 years old btw xd): godot.windows.editor.dev.x86_64_m6lvJkZByK.mp4There is probably some implementation difference in Dictionary vs Array properties that causes this. |
Tested versions
Issue is present in Godot_v4.3-dev6
I tested on Godot_v4.2.2-stable and it works Ok
System information
Windows 10 - Godot_v4.3-dev6
Issue description
Whenever I try adding Resource to a Dictionary it brings me this error
editor/editor_properties.cpp:1328 - Cannot reliably represent '-9223372002008496859' in the inspector, value is too large.
Steps to reproduce
Minimal reproduction project (MRP)
new-game-project.zip
The text was updated successfully, but these errors were encountered: