Updating from 4.4 to 4.5 - treating warnings about "usage" property in add_property_info()

Godot Version

4.5

Question

As foretold by the migration guide Godot now generates warnings when usage is passed to add_property_info() as it has been unused for a while now. I am fairly new to Godot and do not recognize the files listed in the warnings, and I am not consciously using add_property_info() anywhere in my code.

Does anybody know what I need to change in order for these warnings to disappear?

  WARNING: editor/settings/editor_settings.cpp:331 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: editor/settings/editor_settings.cpp:331 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: editor/settings/editor_settings.cpp:331 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().
  WARNING: core/config/project_settings.cpp:1254 - "usage" is not supported in add_property_info().

Are you using any plugins (that might not be updated for 4.5)?

1 Like