
[Bug]: Garbage instead of game version
TheDearbear opened this issue ยท 4 comments
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.
Did you attach your log file?
Yes, I attached my log file to the text box above.
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
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.
@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.
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