You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
Internal Object of an extended Resource is not visible on remote view unless the remote Resource object is inside an array or a dictionary as far as I can tell.
On the Scene tab click the only node on the scene.
Checkout the exported looks_good variable in Inspector -- it's of type AnAwesomeResource and we can't see the unseen_resource_in_inspector through Inspector variable which is fine.
Press F6 to run the scene.
Click on "Remote" under the Scene tab to see the remote scene.
Click on the Node2D node.
Look at Inspector -- the looks_good variable still has the correct resource name, however its internal member variables can't be seen on the Inspector.
Click on can_see_internal_member array, and double click the only Object it contains --- the unseen_resource_in_inspector can now be seen because AnAwesomeResource lives inside an Array.
I'm not sure why, but my build with #44879 shows the looks_good as having a value when I run your second example (the "strange behavior"). None of the internal properties appear though.
Now, when I change it to export(AnAwesomeResource)and properly mark the unseen property as exported (since it won't appear in the Inspector without that), then it appears in the local Inspector. The unseen property also appears in the remote inspector, but the Inspector shows it to be empty even though the _init() function should theoretically be giving it a value.
This doesn't appear to be related to my PR directly though. Seems like some sort of difference between the remote inspector and the local one. Or the Inspector when looking at remote vs local objects (not sure how the remote stuff is all implemented).
Calinou
changed the title
Unable to see internal Objects of extended Resource unless it's under an array
Remote scene tree: Unable to see internal Objects of extended Resource unless it's under an array
Mar 25, 2021
Godot version:
3.2 branch at commit 9bf5a0b
OS/device including version:
Arch Linux
Issue description:
Internal
Object
of an extendedResource
is not visible on remote view unless the remote Resource object is inside an array or a dictionary as far as I can tell.Steps to reproduce:
Consider the following class:
looks_good
variable in Inspector -- it's of typeAnAwesomeResource
and we can't see theunseen_resource_in_inspector
through Inspector variable which is fine.looks_good
variable still has the correct resource name, however its internal member variables can't be seen on the Inspector.can_see_internal_member
array, and double click the onlyObject
it contains --- theunseen_resource_in_inspector
can now be seen becauseAnAwesomeResource
lives inside anArray
.Minimal reproduction project:
RemoteResourceView.zip
Additional Notes
Related:
#41427
#40758
The text was updated successfully, but these errors were encountered: