November 18, 2017, 12:31:24 AM

Author Topic: Mac version crash on load saved game  (Read 7087 times)

andand21

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Mac version crash on load saved game
« Reply #15 on: January 15, 2016, 01:59:39 PM »
I have had the same issue, can't load any games I've previously saved, tried uninstalling deleting the music files all sorts.
Quote
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
WARNING: AL SOURCE WAS NOT AVAILABLE. SKIPPING.logout
This is the log, if anyone knows of a quick fix.... Mid 2014 Macbook pro with OS X El Capitan
Its made the game unplayable as i can't play any of my saves so would have to start a new one to even play.
« Last Edit: January 15, 2016, 02:12:54 PM by andand21 »

Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #16 on: February 14, 2016, 08:15:04 AM »
Has anyone had any success in finding a work around for this issue?  I am having the same crash issue again (same log output pointing to sound issues).  I used to be able to get it to reload if I just kept trying, but now it seems that it is not possible.

////////////////////////////////////////////////////////////////
    Date: 2/14/2016 10:14:30 AM
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world08
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISound.Dispose () [0x00000] in <filename unknown>:0
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////

perchy22

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Mac version crash on load saved game
« Reply #17 on: February 21, 2016, 04:01:23 PM »
Yet another person getting this issue. I created a new thread before having seen this one: http://forums.gnomoria.com/index.php?action=post;msg=64028;topic=8473.0

As noted there, I'm running Arch Linux. Sometimes loads start working again, others have yet to work again.

Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #18 on: March 24, 2016, 06:46:50 PM »
Still having this problem.  It is pretty frustrating, particularly because I never run Gnomoria with the sound on. 

Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #19 on: March 30, 2016, 04:40:08 PM »
Just a note, it appears to be directly linked to saved games.  I can create new games (using the exact same mods) but cannot load some games (crash during loading screen).  It generally appears to happen after a few seasons so it may have something to do with the state of the game when it is saved, but I cannot think of a consistent variable, i.e. it isn't only after windmills or some sort of item is obtained. 

Also, I can usually hear an audible click right before games are successfully loaded, which I hear when the saved games crash which makes me think the error occurs late in the loading process. 

Xanzibaar

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Mac version crash on load saved game
« Reply #20 on: April 19, 2016, 12:37:30 AM »
I have been experiencing the same issue under the same circumstances, apart from one difference. The crashes started after swapping to the indev branch. I could create new games and save them (with mods installed) but they would crash on loading.
I solved the problem by deleting Gnomoria and unsubscribing from the indev branch and reinstalling. All games that crashed on load are now working.
HTH

Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #21 on: June 24, 2016, 03:42:10 PM »
I tried reinstalling the game and not using the Indev, but to no avail. 

Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #22 on: June 25, 2016, 07:43:43 AM »
This is another message I found in my system logs:

6/25/16 9:41:15.760 AM Gnomoria.bin.osx[2979]: 09:41:15.759 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.

Any ideas?

Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #23 on: June 26, 2016, 08:01:40 AM »
Any thoughts on this last system log notification?  It always appears with the crash on load.  Is anyone able to look into this or at least explain the issue?  The inability to load saved games on mac is a bit of a game breaker for the mac release. 


6/26/16 9:50:31.242 AM Gnomoria.bin.osx[1021]: 09:50:31.241 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.


Sabbthiel

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Mac version crash on load saved game
« Reply #24 on: June 26, 2016, 08:21:43 AM »
As a side note, I just started a new game and enabled the sound (I always had played with 0 volumes), and the music and sound effects  are playing.  I am not sure if a later sound effect or something similar may be effecting things. 

As it was noticed as a fix for another issue, can anyone provide me with a list of sound files used in the windows version so that I can compare the file names?

amatiasq

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Mac version crash on load saved game
« Reply #25 on: August 03, 2016, 01:51:01 PM »
I played this game when it was early access and got tired of loosing my world again and again. So now, about 1 year later, I've created 3 worlds, played each about 8 hours and loading them crashes so I guess I'll never see them again:

OS X El Capitan v10.11.5
Gnomoria v1.0

I tried 3 different saves of mine. Don't know what Steam game cache is.

The first post on Support forum is "Bugs go on BugZilla" but BugZilla link is broken. Is this serious? I mean... we paid for this...

Quote
////////////////////////////////////////////////////////////////
    Date: 01/08/2016 19:57:12
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world03
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 01/08/2016 19:57:46
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world03
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISound.Dispose () [0x00000] in <filename unknown>:0
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 02/08/2016 22:35:12
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world04
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 02/08/2016 22:35:53
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world04
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISound.Dispose () [0x00000] in <filename unknown>:0
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 03/08/2016 22:36:36
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world05
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////

////////////////////////////////////////////////////////////////
    Date: 03/08/2016 22:37:28
Assembly: Gnomoria.exe
 Version: 1.0.0.0
   World: world05
 Message: Object reference not set to an instance of an object
////////////////////////////////////////////////////////////////
  at IrrKlang.ISoundEngine.Update () [0x00000] in <filename unknown>:0
  at Game.AudioManager.UpdateSFX (Single dt) [0x00000] in <filename unknown>:0
  at Game.AudioManager.Update (Single dt) [0x00000] in <filename unknown>:0
  at Game.GnomanEmpire.Update (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.DoUpdate (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Tick () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.SDL2_GamePlatform.RunLoop () [0x00000] in <filename unknown>:0
  at Microsoft.Xna.Framework.Game.Run () [0x00000] in <filename unknown>:0
  at Game.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
////////////////////////////////////////////////////////////////
« Last Edit: August 03, 2016, 01:57:05 PM by amatiasq »

admanter

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Re: Mac version crash on load saved game
« Reply #26 on: August 04, 2016, 11:50:32 AM »
Bugzilla is known broken, and won't be fixed.
Dev is currently absent, and may be done with the game.

People on mac are having sound errors.

I've seen report that turning off music may help. You may have to edit the config file directly if game wont operate. /Users/<username>/Library/Application Support/Gnomoria/settings.ini

You could use the windows version by using a program called "PlayOnMac". It nicely bundles WINE and runs windows programs, which includes steam(and from there you can install gnomoria).  I've tested this on mac os 10.7 and 10.9 with gnomoria 0.9.18, i have no reason to think 1.0 will operate differently. It raises install size by  ~2GB

Your save games are compatible between mac and windows.