-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Inspector can't show 3rd level of nesting for runtime dictionaries/arrays (fixed in master
)
#25375
Comments
Just wanted to confirm this is still happening on 3.1 stable on Windows 10. It also sometimes happens with 2nd level nesting as well, although it is way less severe: I'm always able to open it eventually, but ocasionally it requires clicking more than once. |
Still valid in the current master branch (8450658). |
I'm having this problem too Steam version 3.1.2 |
So I've debugged it a bit and here's what happens. First of all, the issue only appears in the Inspector for the remote debugger. Nested dictionaries fold and unfold without a problem when checking them in the editor without a running scene (values must be set manually or via a tool script). Secondly, the issue has nothing to do with folding. The problem is that the inspector node for a dictionary property is perpetually updated. Which causes it to redraw on each frame and as a result folding to appear broken. Same does not happen with arrays. You can put a breakpoint into With Problem seems to sparkle from godot/editor/debugger/editor_debugger_inspector.cpp Lines 186 to 189 in dee8f8d
While at the moment of the assignment the Any ideas where to look for that destruction? |
It turned out, I was reading the debugger wrong. The old value is still there, it just can't be properly compared to the new one. Seems to be related to and possibly fixed by #29222 and #35816 (thanks @bojidar-bg). |
Any progress on this? I'm in 3.3.2 stable on Windows 10 and this still exists. The only work around I see, is to drop a breakpoint in the code and use the debugger just to see the nested dictionary... pretty annoying. |
As far as I know, nobody knows how to resolve this bug yet. It may have been fixed in the |
I don't think that we have a way to compare dictionaries by value yet, even in master. |
Glad I found others have this problem. I independently replicated this bug. |
Fixed by #35816. |
Reproduced in 3.4.2. Looks like this fix hasn't been backported from master? |
Reimplementing #35816 for |
Reopening, as this still needs to be fixed in |
master
)
Well I don't think this will ever be fixed in 3.x, which is why I closed it as fixed in 4.0. |
Fixed in 3.5 by #60737. |
Godot version:
Godot_v3.1-beta2_win64
OS/device including version:
Windows 7 x64 SP1
Issue description:
When i try to expand doubly nested array or dictionary in Inspector it expands for a very brief time and then collapses. Sometimes it doesn't even expand at all.
Debugger expands just fine.
It happens only for runtime variables (from nodes in the Remote Scene). Thnx to pycbouh for spotting this.
Video:
https://www.dropbox.com/s/i07zsgpbpecqeie/GodotInspectorNestingCollapse.avi?dl=0
Steps to reproduce:
Place a breakpoint in _ready() function
Run the project
Try to fully expand "dict" variable in Inspector
Minimal reproduction project:
Dlownload link: https://downgit.github.io/#/home?url=https://github.com/hilfazer/Projects/tree/master/Godot/EngineIssues/InspectorDictionaryCollapse
Github location: https://github.com/hilfazer/Projects/tree/master/Godot/EngineIssues/InspectorDictionaryCollapse
The text was updated successfully, but these errors were encountered: