Open zarstensen opened 1 month ago
4.2.stable
1.89.1
2.0.0
Windows 10
Resource variables only show the resource id instead of all the resources properties, when inspecting variables during debugging.
CustomResource extends from Object, properties are displayed as expected.
CustomResource extends from Resource, only an "id" property is displayed.
Below is the code used to generate the above screenshots:
root_node.gd
extends Node func _ready() -> void: var custom_resource: CustomResource = CustomResource.new() custom_resource.resource_variable = 42 breakpoint
custom_resource.gd
class_name CustomResource extends Resource @export var resource_variable := -9999
Godot version
4.2.stable
VS Code version
1.89.1
Godot Tools VS Code extension version
2.0.0
System information
Windows 10
Issue description
Resource variables only show the resource id instead of all the resources properties, when inspecting variables during debugging.
Expected:
CustomResource extends from Object, properties are displayed as expected.
Actual:
CustomResource extends from Resource, only an "id" property is displayed.
Steps to reproduce
Below is the code used to generate the above screenshots:
root_node.gd
custom_resource.gd