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

Remote Inspector doesn't update when a Resource type is set in code #28353

Closed
Tracked by #47369
TimurBahadir opened this issue Apr 23, 2019 · 7 comments
Closed
Tracked by #47369

Comments

@TimurBahadir
Copy link

Godot version:
3.1.1 RC1

OS/device including version:
Windows 10

Issue description:
When creating and assigning a CollisionShape in code, the remote inspector
says it is [empty] but it is actually assigned and working.

Steps to reproduce:

  • Create Area2D node
  • Create CollisionShape2D Node as child
  • Add script to Area2D
  public override void _Ready()
  {
    CollisionShape2D collisionShape = GetChild(0) as CollisionShape2D;

    collisionShape.Shape = new RectangleShape2D();
  }
  • Optionally enable Visible Collision Shapes

Code_2019-04-23_22-05-24

Minimal reproduction project:
Issue.zip

@amisner2k
Copy link

Yes! This issue was happening for me and I thought I was going crazy. I'm glad it's been reported.

@KoBeWi
Copy link
Member

KoBeWi commented Jul 24, 2020

Still valid in b7dc08f, even though a similar #30033 was fixed.

@timothyqiu
Copy link
Member

Just encountered the same issue when debugging.

This is still valid in 3.2.3 / 3.2.4.beta4 / master(8ad0ff8).

@Zireael07
Copy link
Contributor

Can we have this converted to a tracker? It seems many things don't show up in remote inspector...

@Calinou
Copy link
Member

Calinou commented Mar 26, 2021

Can we have this converted to a tracker? It seems many things don't show up in remote inspector...

I don't think we need to make this particular issue a tracker. This bug can happen with pretty much any Resource type.

@Zireael07
Copy link
Contributor

Then maybe edit the issue title to mention Resources?

@Calinou Calinou changed the title Remote Inspector doesn't update when CollisionShape Shape is set in code Remote Inspector doesn't update when a Resource type is set in code Mar 26, 2021
@akien-mga
Copy link
Member

Fixed by #44657.

@akien-mga akien-mga added this to the 3.4 milestone May 14, 2021
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

8 participants