Make default values in Project Settings accessible to sys.get_config (DEF-3579)(SOLVED)


Currently, if a value hasn’t been changed from the default in Project Settings, it isn’t written out to the game.project file and thus isn’t accessible via sys.get_config.
Defold should either:

  • Write out all default values to game.project when a new project is created or
  • Fetch the value from the engine’s internal defaults if it doesn’t exist in game.project

(My original thread)


Added in the editor2 issue tracker.


Released in 1.2.143