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

Trying to inspect a node with a script that contains typed dictionary that has entries with custom class as a key will cause errors. #98140

Open
Kakiroi opened this issue Oct 13, 2024 · 1 comment

Comments

@Kakiroi
Copy link

Kakiroi commented Oct 13, 2024

Tested versions

Godot v4.4.dev3

System information

Godot v4.4.dev3 - Windows 10.0.22631 - Single-window, 2 monitors - Vulkan (Forward+) - dedicated GeForce RTX 2070 SUPER

Issue description

Cannot inspect a node on a remote tab if a node's script contains typed dictionary (non typed dictionary is fine), and the dictionary contains an entry that has a Node object as a key.

  • Custom class object inheriting Node as a key -> Error.
  • Custom class object inheriting Node as a key, but dictionary is not typed -> Fine.
  • Custom class object inheriting Node as a value -> Fine.
  • Custom class object inheriting Resource as a key -> Fine.

Steps to reproduce

See Above, check MRP.

Minimal reproduction project (MRP)

errorscriptgeneration.zip

@dalexeev
Copy link
Member

dalexeev commented Oct 13, 2024

EDIT: I tested it, the bug is not fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants