View Issue Details

IDProjectCategoryLast Update
0021168AI War 2[All Projects] Crash/ExceptionJun 3, 2019 4:46 pm
ReporterBadgerBadgerAssigned Tox4000Bughunter 
Severityminor 
Status assignedResolutionopen 
Product VersionBETA 0.855 Galactic Markings 
Fixed in Version 
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 resolvedx4000Bughunter missing libsteam_api64.so on linux 

Activities

x4000Bughunter

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.

x4000Bughunter

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

x4000Bughunter

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.

x4000Bughunter

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

View 2 revisions

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

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 => x4000Bughunter
May 1, 2019 1:25 pm BadgerBadger Relationship added related to 0021171
May 15, 2019 4:46 pm x4000Bughunter Note Added: 0051608
May 17, 2019 11:12 pm x4000Bughunter Status assigned => feedback
May 17, 2019 11:12 pm x4000Bughunter 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 x4000Bughunter Note Added: 0051766
May 31, 2019 1:26 pm BadgerBadger Note Added: 0051767
May 31, 2019 2:10 pm x4000Bughunter Note Added: 0051768
Jun 3, 2019 4:45 pm BadgerBadger Note Added: 0051792
Jun 3, 2019 4:46 pm BadgerBadger Note Edited: 0051792 View Revisions