Skip to content

Commit

Permalink
Merge pull request #854 from data-bomb/alpha-development
Browse files Browse the repository at this point in the history
Adds Warning Text When PlayerSettings Is Unavailable
  • Loading branch information
HerpDerpinstine authored Feb 4, 2025
2 parents faf5845 + 6cd8995 commit 940d8d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MelonLoader/InternalUtils/UnityInformationHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ private static void ReadGameInfo(AssetsManager assetsManager, string gameDataPat
if (productName != null)
GameName = productName.AsString;
}
else
{
MelonLogger.Warning("Unable to find PlayerSettings in globalgamemanagers. Possible out-dated classdata.tpk present. Using fallback method.");
}
}
}
catch(Exception ex)
Expand Down

0 comments on commit 940d8d3

Please sign in to comment.