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
When adding a property to the ProjectSettings with TYPE_ARRAY, PROPERTY_HINT_ARRAY_TYPE and TYPE_STRING, PROPERTY_HINT_FILE, up to 4.4 the content was an array of elements using res://, since 4.4. this is an array of uids.
Why is this a bad breaking?
Inconsistency: A single TYPE_STRING with PROPERTY_HINT_FILE is still saved using the path.
The project settings are not upgraded by the Upgrade to UID routine. Means especially plugins have to consider both variants actively.
There is no fallback anymore to the path variant, if the UID gets deleted, missing it is not possible to access the file anymore, or even know which file it was.
If the UID changes the project setting is not automatically updated.
Steps to reproduce
Select files in ProjectSettings > General > Plugins > Testing.
The files are saved as uids in the project.godot.
Tested versions
System information
Godot v4.4.stable - Windows 11 (build 26100) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1080 Ti (NVIDIA; 32.0.15.7216) - AMD Ryzen 9 7900X 12-Core Processor (24 threads)
Issue description
When adding a property to the ProjectSettings with
TYPE_ARRAY
,PROPERTY_HINT_ARRAY_TYPE
andTYPE_STRING
,PROPERTY_HINT_FILE
, up to 4.4 the content was an array of elements usingres://
, since 4.4. this is an array ofuid
s.Why is this a bad breaking?
TYPE_STRING
withPROPERTY_HINT_FILE
is still saved using the path.Upgrade to UID
routine. Means especially plugins have to consider both variants actively.UID
gets deleted, missing it is not possible to access the file anymore, or even know which file it was.UID
changes the project setting is not automatically updated.Steps to reproduce
Select files in ProjectSettings > General > Plugins > Testing.
The files are saved as uids in the
project.godot
.Minimal reproduction project (MRP)
new_game_project.zip
The text was updated successfully, but these errors were encountered: