v1.198 GetGeoInfo analytics causes crash with Proton

Jason Abel shared this bug 5 months ago
Solved

After some digging on the #linux section of the discord, it appears that the current version of wine/proton does not support getting latitude/longitude, so when SE's analytics tries to parse the info it fails and crashes. Could there please be a check added so that this no longer happens?

Best Answer
photo

Hello!


This crash should be fixed in version 198.027. Can you please retest? Thank you!


Kind Regards

Keen Software House: QA Department

Comments (5)

photo
2

Wine hasn't implemented Kernel32.dll GetGeoInfoW with geoType 0x0002(latitude) and 0x0003(longitude) as shown in https://github.com/wine-mirror/wine/blob/e909986e6ea5ecd49b2b847f321ad89b2ae4f6f1/dlls/kernelbase/locale.c#L4289

this results in the following stack trace when starting both dedicated servers and the game clients using wine.

>  Exception occurred: System.FormatException: Input string was not in a correct format.
   at System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
   at Sandbox.Engine.Analytics.MySpaceAnalytics.GatherSessionStartData()
   at Sandbox.Engine.Analytics.MySpaceAnalytics.StartSession(Boolean firstTimeRun)
   at Sandbox.MySandboxGame.ProcessRenderOutput()
   at Sandbox.MySandboxGame.Update()
   at Sandbox.Engine.Platform.Game.UpdateInternal()
   at Sandbox.Engine.Platform.Game.RunSingleFrame()
   at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
   at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
   at Sandbox.Engine.Platform.Game.RunLoop()
   at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
   at SpaceEngineers.MyProgram.Main(String[] args)

photo
4

Hello, Engineers!

Thanks for letting us know. We are already aware of this issue.

Kind Regards

Keen Software House: QA Department

photo
5

Hello!


I have an update, this issue will be fixed next week in the hotfix. Thank you for your patience.


Kind Regards

Keen Software House: QA Department

photo
1

Hello!


This crash should be fixed in version 198.027. Can you please retest? Thank you!


Kind Regards

Keen Software House: QA Department

photo
2

Game launches without crashing, everything seems to work fine. Thanks for the fix!

photo
photo
1

Game seems to be running fine now, at least in single player.

Thanks!

photo
1

Thanks for confirming, Darren!

photo