View Issue Details

IDProjectCategoryLast Update
0021168AI War 2Crash/ExceptionAug 26, 2019 6:19 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Severityminor 
Status resolvedResolutionfixed 
Product VersionBETA 0.855 Galactic Markings 
Fixed in Version0.882-0.883 Research and Reconquest 
Summary0021168: Facepunch exception at game start
DescriptionWhen I start the game on OSX I see that the game thinks I'm still not logged into Steam (though I am), and I see this error in the log:


5/1/2019 8:25:03 AM
ErrorsReportedByEngine: -----------
Exception: ISteamInventory _ptr is null!
Stack Trace: SteamNative.Platform+Mac.ISteamInventory_LoadItemDefinitions () (at <21543d22f3c642b78d15a34849741dfe>:0)
SteamNative.SteamInventory.LoadItemDefinitions () (at <21543d22f3c642b78d15a34849741dfe>:0)
Facepunch.Steamworks.Inventory.FetchItemDefinitions () (at <21543d22f3c642b78d15a34849741dfe>:0)
Facepunch.Steamworks.Inventory..ctor (Facepunch.Steamworks.BaseSteamworks steamworks, SteamNative.SteamInventory c, System.Boolean server) (at <21543d22f3c642b78d15a34849741dfe>:0)
Facepunch.Steamworks.BaseSteamworks.SetupCommonInterfaces () (at <21543d22f3c642b78d15a34849741dfe>:0)
Facepunch.Steamworks.Client..ctor (System.UInt32 appId) (at <21543d22f3c642b78d15a34849741dfe>:0)
ArcenGameController.Update () (at <c20901a2283c455bab0e1df3d8304024>:0)

TagsNo tags attached.

Relationships

related to 0021171 resolvedChris_McElligottPark missing libsteam_api64.so on linux 

Activities

Chris_McElligottPark

May 15, 2019 4:46 pm

administrator   ~0051608

Are there any other errors? Is it failing to find the libsteam_api.dylib file, perhaps? It might be that it needs to be copied into AIWar2.app\Contents\Resources or something along those lines. I need to revisit the Facepunch documentation, probably. It might also work in AIWar2.app\Contents\Frameworks.

Chris_McElligottPark

May 17, 2019 11:12 pm

administrator   ~0051695

Can anyone confirm if this is still an issue on OSX on version 0.861 or higher?

Thanks!

* Integrated revised versions of the Steamworks .so files for linux, and the related files for OSX as well.
** Thanks to Badger for chasing down what needed to change on Linux; please let us know if it still isn't showing you as logged in properly in the new builds in either of those two OSes, because that would likely mean that something didn't get copied properly in our build scripts.

BadgerBadger

May 19, 2019 7:52 pm

manager   ~0051699

I now get this error on linux as well, and it shows the starry night sky again

-----------^M
Exception: ISteamInventory _ptr is null!^M
Stack Trace: SteamNative.Platform+Linux64.ISteamInventory_LoadItemDefinitions () (at <95b0ae68f0874d79bc7806a90e8eca39>:0)
SteamNative.SteamInventory.LoadItemDefinitions () (at <95b0ae68f0874d79bc7806a90e8eca39>:0)
Facepunch.Steamworks.Inventory.FetchItemDefinitions () (at <95b0ae68f0874d79bc7806a90e8eca39>:0)
Facepunch.Steamworks.Inventory..ctor (Facepunch.Steamworks.BaseSteamworks steamworks, SteamNative.SteamInventory c, System.Boolean server) (at <95b0ae68f0874d79bc7806a90e8eca39>:0)
Facepunch.Steamworks.BaseSteamworks.SetupCommonInterfaces () (at <95b0ae68f0874d79bc7806a90e8eca39>:0)
Facepunch.Steamworks.Client..ctor (System.UInt32 appId) (at <95b0ae68f0874d79bc7806a90e8eca39>:0)
ArcenGameController.Update () (at <3faaab105d534205b9c8b8aa36bd8e75>:0)
^M
                                                                                                                                                                                                                                                                                   

BadgerBadger

May 21, 2019 10:27 am

manager   ~0051709

Okay, it's suddenly working again. How odd.

BadgerBadger

May 28, 2019 11:18 am

manager   ~0051740

This problem persists on OSX

BadgerBadger

May 31, 2019 1:08 pm

manager   ~0051765

So on Linux, if Steam is not running then I don't see this error (and I get the right background). If Steam is open then I see this error and I just get the grey background

Chris_McElligottPark

May 31, 2019 1:19 pm

administrator   ~0051766

Is it the same error on OSX that it's showing on linux? This may be a bug in the facepunch stuff that needs to be solved for the newer versions of unity; their git repo is pretty active, so I'll pull the new code from them sometime soon. I'm not sure exactly what is going on with their stuff right now.

BadgerBadger

May 31, 2019 1:26 pm

manager   ~0051767

Yeah, same error on both platforms.

Chris_McElligottPark

May 31, 2019 2:10 pm

administrator   ~0051768

That's reassuring in some ways. Either there's a bug in that part of their code (may already be fixed in their repo), or it's just the first thing to be called (in which case the problem is something else, but oh well).

BadgerBadger

Jun 3, 2019 4:45 pm

manager   ~0051792

Last edited: Jun 3, 2019 4:46 pm

If I don't have Steam running on OSX then I see the proper background.

So yeah, as long as Steam isn't running then the game works correctly. If Steam is on then both Linux and OSX have this null pointer exception

Chris_McElligottPark

Aug 20, 2019 5:13 pm

administrator   ~0052586

Okay, as of the new version 0.883 I think this should not throw an exception anymore, and hopefully will show your steam username properly on the main menu on linux and osx now. Fingers crossed!

BadgerBadger

Aug 20, 2019 5:47 pm

manager   ~0052587

OSX seems to be working now, it tells me my username correctly.

Chris_McElligottPark

Aug 26, 2019 11:42 am

administrator   ~0052626

Happy dance!!

BadgerBadger

Aug 26, 2019 4:03 pm

manager   ~0052641

Also tried on Linux and it also detects my username there. Looks good!

Chris_McElligottPark

Aug 26, 2019 6:19 pm

administrator   ~0052643

Double happy, then! :D

Issue History

Date Modified Username Field Change
May 1, 2019 10:27 am BadgerBadger New Issue
May 1, 2019 10:27 am BadgerBadger Status new => assigned
May 1, 2019 10:27 am BadgerBadger Assigned To => Chris_McElligottPark
May 1, 2019 1:25 pm BadgerBadger Relationship added related to 0021171
May 15, 2019 4:46 pm Chris_McElligottPark Note Added: 0051608
May 17, 2019 11:12 pm Chris_McElligottPark Status assigned => feedback
May 17, 2019 11:12 pm Chris_McElligottPark Note Added: 0051695
May 19, 2019 7:52 pm BadgerBadger Status feedback => assigned
May 19, 2019 7:52 pm BadgerBadger Note Added: 0051699
May 21, 2019 10:27 am BadgerBadger Status assigned => requires feedback
May 21, 2019 10:27 am BadgerBadger Note Added: 0051709
May 28, 2019 11:18 am BadgerBadger Status requires feedback => new
May 28, 2019 11:18 am BadgerBadger Note Added: 0051740
May 28, 2019 11:29 am BadgerBadger Status new => assigned
May 31, 2019 1:08 pm BadgerBadger Note Added: 0051765
May 31, 2019 1:19 pm Chris_McElligottPark Note Added: 0051766
May 31, 2019 1:26 pm BadgerBadger Note Added: 0051767
May 31, 2019 2:10 pm Chris_McElligottPark Note Added: 0051768
Jun 3, 2019 4:45 pm BadgerBadger Note Added: 0051792
Jun 3, 2019 4:46 pm BadgerBadger Note Edited: 0051792
Aug 20, 2019 5:13 pm Chris_McElligottPark Note Added: 0052586
Aug 20, 2019 5:13 pm Chris_McElligottPark Status assigned => feedback
Aug 20, 2019 5:47 pm BadgerBadger Note Added: 0052587
Aug 20, 2019 5:47 pm BadgerBadger Status feedback => assigned
Aug 20, 2019 5:47 pm BadgerBadger Status assigned => resolved
Aug 20, 2019 5:47 pm BadgerBadger Resolution open => fixed
Aug 20, 2019 5:47 pm BadgerBadger Fixed in Version => 0.882-0.883 Research and Reconquest
Aug 26, 2019 11:42 am Chris_McElligottPark Note Added: 0052626
Aug 26, 2019 4:03 pm BadgerBadger Note Added: 0052641
Aug 26, 2019 6:19 pm Chris_McElligottPark Note Added: 0052643