1.22.0 Stable Release: Mod Version Prompt Text Inconsistent With Verification Logic

In 1.22.0 (stable), some mods display the following message:

Image

“This mod requires game version 1.22.0, but your version is 1.22.0. It might not load correctly.”

This message appears contradictory at first glance (requested version and current version are identical yet reports a mismatch), which could be mistaken for the mod being outdated.

1. How to reproduce

  1. Install/enable a mod under 1.22.0 stable that declares game = "1.22.0" in its dependencies.
  2. Open the mod list and enable this mod.
  3. Observe the warning message reading: “This mod requires game version 1.22.0, but your version is 1.22.0. It might not load correctly.”

2. Decompilation results

From decompiling VintagestoryAPI.dll:

  • OverallVersion = "1.22.0"
  • ShortGameVersion = "1.22.0"
  • APIVersion = "1.21.0"

3. Cause

Clearly, the API version still uses the old version number. This causes mods using 1.22.0 that specify 1.22.0 in their configuration file’s game field to trigger warnings regardless.

4. Currently not fixed by the official developers

This should be fixed in the next version. It can be ignored for now.

1 Like

我也遇到了这个bug(测试评论+1)