MelonLoader

MelonLoader

554 Downloads

[Bug]: Garbage instead of game version

TheDearbear opened this issue ยท 4 comments

commented

All of the following criteria must be met

  • All Requirements must be installed.
  • Changed the title so that it doesn't just says "[Bug]: "
  • I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.
  • Was able to see the Start Screen.

Describe the issue.

Every time I launch 'BBQ Simulator: The Squad' MelonLoader prints some part of globalgamemanagers instead of game version (1.1) which is actually almost at the start of that garbage.

Latest.log

Did you attach your log file?

Yes, I attached my log file to the text box above.

commented

I suggest trying to parse the version through SemVersion and Version, and return "Unknown" if both fail. This would be a temporary solution to garbage text

commented

Experienced a similar issue where the latest MelonLoader was failing to grab the game information in ReadGameInfo on a Unity 6 game. Updating the Resources\classdata.tpk file with a newer one (e.g., https://github.com/AssetRipper/Tpk/actions/runs/13093883855) and then re-compiling MelonLoader fixed it

Should be updated on the latest nightly release.

commented

@slxdy Parsing the version in that way is likely to yield the Unity engine version, but it won't be an adequate method to put into ReadGameInfoFallback for finding the game version.

commented

Experienced a similar issue where the latest MelonLoader was failing to grab the game information in ReadGameInfo on a Unity 6 game. Updating the Resources\classdata.tpk file with a newer one (e.g., https://github.com/AssetRipper/Tpk/actions/runs/13093883855) and then re-compiling MelonLoader fixed it