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

Properties duplicated in Remote SceneTree inspector #39847

Open
Tracked by #47369
Flavelius opened this issue Jun 26, 2020 · 7 comments
Open
Tracked by #47369

Properties duplicated in Remote SceneTree inspector #39847

Flavelius opened this issue Jun 26, 2020 · 7 comments

Comments

@Flavelius
Copy link
Contributor

Flavelius commented Jun 26, 2020

Godot version:
3.2.2.rc4.mono.official

Issue description:
In playmode the Scenetree displays properties of nodes twice in different subsections:
grafik

Steps to reproduce:
Attach a script (c# in this case) with exported properties to an object, start play, switch to remote Scenetree, select object with script, find properties under 'Members' and also duplicated under 'Script Variables' (with default values).

@Calinou
Copy link
Member

Calinou commented Mar 27, 2021

@lonevox confirmed this in #47404 on a Mono-enabled build. Can you reproduce this on a non-Mono build?

@lonevox
Copy link

lonevox commented Mar 27, 2021

@Calinou My issue was specifically about the script property being duplicated. This seems to be a different issue about export variables being duplicated. You can see both issues occurring here in 3.3-rc6:
duplicated

@geekley
Copy link

geekley commented Jan 16, 2022

Good to know it's an issue. I thought I was doing something wrong or misunderstood how C# / GDScript interaction is supposed to work. Unless ... is it actually allocating double the space (like it seems to be doing) or is it just an inspector bug when displaying it?

@Calinou
Copy link
Member

Calinou commented Jan 16, 2022

Unless ... is it actually allocating double the space (like it seems to be doing) or is it just an inspector bug when displaying it?

It's just an inspector bug.

@djmaesen
Copy link

djmaesen commented Aug 2, 2022

im having the same issue in godot 4 alpha 13 linux

@Calinou
Copy link
Member

Calinou commented Aug 2, 2022

im having the same issue in godot 4 alpha 13 linux

This is an unrelated issue: #63668

@docboymex
Copy link

docboymex commented Aug 14, 2024

Unless ... is it actually allocating double the space (like it seems to be doing) or is it just an inspector bug when displaying it?

It's just an inspector bug.

It is not an ispector bug, when i use an EditorInspectorPlugin and modify the value of a variable the value is modified in the section with the scrip name and no in the section "Members" which is the one that runs the logic of the script.
It appears that the "MEMBERS" section is a runtime copy of the variables of the script that is used during runtime.

Im using Godot 4.2

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

7 participants