Closed
Description
Godot version
v4.1.1.stable.mono.official [bd6af8e]
System information
Godot v4.1.1.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1070 (NVIDIA; 30.0.14.9613) - Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz (6 Threads)
Issue description
Setting the resource name of a packed scene does nothing. It displays in the editor, but checking the resource_name field just gives "" and if you restart the editor your setting is gone.
This is rather unreliably to reproduce, but I eventually got the attached minimal project where it happens reliably.
This is probably the cause of #56177 and #41619, but it's hard to be sure.
Steps to reproduce
- Open attached project
- open test_scene, select the Sprite2d node in editor.
- Enter some_value in the name of the resource of the
asdf
field of the attached script.
- Run scene.
Expected: Console Prints "resource_name is some_value"
Actual: Conole Prints "resource_name is " - Save everything, restart the editor
- inspect the Sprite2d again
Expected: Resource name should be some_value
Actual: Resource name is empty
NB: Saving the scene or saving the resource seem to make no difference.