Skip to content

Commit

Permalink
Fix loading the default asset
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeage committed Mar 28, 2024
1 parent c7ce93a commit 6779b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/Scripts/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1725,7 +1725,7 @@ void CreateDefaultConfig()

string text;

text = File.ReadAllText(Resources.Load<TextAsset>(kDefaultConfigPath).text, System.Text.Encoding.UTF8);
text = Resources.Load<TextAsset>(kDefaultConfigPath).text;
string warning;
UserConfig_tmp = DeserializeObjectWithWarning<UserConfig>(text, out warning);
#if UNITY_OSX || UNITY_LINUX
Expand Down

0 comments on commit 6779b4a

Please sign in to comment.