godot
godot copied to clipboard
Metadata in .res resources is not reliable
Tested versions
4.3
System information
Godot v4.4.1.stable - Windows 11 (build 26100) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 32.0.15.6119) - Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (12 threads)
Issue description
I published my game on Github with a metadata field object = toygun in assets/objects/weapons/toy_gun/laser-gun-design1_Cube.res.
See: https://github.com/Nodragem/top-down-action-adventure-starter-kit (Look at previous version, as I replaced the .res with a .tres in my latest commit)
End users who cloned the repository reported that the toygun did not work on their side, and this was due to the metadata being empty (while it was not empty on my side).
Note that on my side, the metadata field would get emptied in some occasions, which still need to be identified precisely.
Steps to reproduce
I am not exactly sure what trigger the metadata to be emptied.
Minimal reproduction project (MRP)
Not yet able to replicate.