Set compat of new instances based on Unity updates and alert user #4191
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
One of the top user support requests at the moment is still how to make more mods show up as installable, with the answer still being to set compatible versions in the settings to work around still-missing compatibility metadata updates from mod authors:
Cause
New users have no concept of the history of game updates and mod updates and how they interacted; they see a more or less static landscape, and it doesn't make sense to them that they would have to change settings to install anything.
Meanwhile, a great number of mods that still work in the latest version were abandoned long before it was released, and so their compatibility still only goes up to whatever was the latest game version at that time.
Changes
IGame.DefaultCompatibleVersions(GameVersion)
defines which additional versions should be considered compatible for a given installed game version by default (user can still edit)0.1
and0.2
), because version compatibility never really became a thing for that gameThis should help new users to find the mods they're looking for with a lower support burden, and expert users who prefer other settings can select them in the pop-up.