Open Stenodyon opened 6 years ago
Yeah, looks like ES3 ran into some data it couldn't parse. Should be fixed by deleting settings.txt.
I'm replacing ES3 with my own data text serialization library in 0.3, which should fix this.
This was on a fresh install, tried removing settings.txt but I still get the same error.
This is what my settings.txt looks like (it's missing pretty much everything).
With a sane settings.txt this is my output log: Player.log
wow I really have no idea wtf is going on. I'm 90% sure it's not my fault, though - still all just ES3 errors...
@Stenodyon
When you have locales which represents a decimal point with , instead of . TUNG saves json which is invalid. So as a workaround delete "~/.config/unity3d/Mouse Hat Games/The Ultimate Nerd Game/" then start game with the following command: LANG=C ./The\ Ultimate\ Nerd\ Game.x86_64
@Iamsodarncool
Not sure which json lib you are using. I guess/hope you can hardcode culture.
So the actual problem already occurs when any json file is written (settings.txt, TimePlayed.txt, worldinfo.txt and maybe others).
It seems lib produces invalid json like { "a" : 1,2 }
but it should be { "a" : 1.2 }
That was it, I can run the game properly now.
Symptoms:
Log file: Player.log