Logo Platform
logo amplifiers simplified

Can't start game or tutorial; NullReferenceException (1.0.46.53)

Copied to clipboard!
10 years ago
Apr 20, 2015, 9:16:00 PM
Issue: I launch the game from Steam, start the tutorial, watch it go through some setup (quickly filling a progress bar four times), and it fails with "A serious error has occurred". I clicked the "Copy to Clipboard" button and will paste the details below, and include more details. 100% reproducible.



Specs: OS X 10.10.3. First-gen (Mid 2012) Retina MacBook Pro "best" model ("MacBookPro10,1", 2.6 i7, 16GB, GT 650M graphics). 1680x1050 virtual resolution running the game in a 1440x900 window. All software, SMC, etc. updates from Apple current (except betas/dev releases). No third-party AV or firewall tools. Nothing weird about my setup.



Version: Endless Legend V1.0.46.53 (32-bit).



Game save: Not relevant; can't even start the game.



Player.log: Included in EL.zip. (Trying to attach it directly gives me an "invalid file" error.)



Diagnostics.*.html: There's a bunch of them—apparently one per launch. I stashed the existing ones and reproduced the crash and got one new one, so I only included that one. (In the EL.zip.) By the way, the path you give in the "Reporting an Issue" post says "~Library" instead of "~/Library", and "EndlessLegend" instead of "Endless Legend".



Screenshots: I have no idea what the post is talking about with Steam and F12. Neither F12 nor fn-F12 seems to do anything. But I can take a normal OS X screenshot of the game in windowed mode if you need it.



Steam keys: When I follow the link to "redeem your Steam CD keys" (http://www.amplitude-studios.com/user/edit), it takes me to what looks like a broken 404 error page (http://www.amplitude-studios.com/vlogin/login/(redirect)/1). I tried finding the appropriate place manually. Clicking on my name gets me to an Account Info page, which has a "Redeem G2G Code"; I'm not sure if that's the right place to put my Steam CD key, but when I try, it just pops up "Your key is processed. Please wait..." in red, and it stays like that forever. There's also an Edit Info button, but that takes me to a page that looks like the screenshot below, and I have absolutely no idea what to do with that.



Further background:



I just purchased the game last night, downloaded it, and launched it. It installed the Mono runtime and quit. I launched the game again, and it started up. It started in a window larger than my screen, but I was able to fix that from Options. So I started the tutorial, it went through some setup, quickly filling a progress bar four times, before failing with "A serious error has occurred".



Attempts to resolve the issue:



If I click "Continue", it very briefly starts to show a dialog at the top, with a picture of someone's face and "Research Technology", then immediately comes back to the crash dialog. The new exception is slightly different—the top of the stack is "DefaultWorldview.StatisticsUnload ()" instead of "RoadRenderer.Unload ()", but everything below that is identical. I can Continue multiple times from there, and continue to get the same StatisticsUnload crash.



Today, I tried again, same result. I tried starting a real game instead of the tutorial; same crash.



I tried running full-screen at 1440x900 and 2800x1800. I tried switching my screen to the default 1440x900 virtual resolution instead of 1680x1050, and running the game both windowed and full-screen. Same result every time.



I tried uninstalling and reinstalling the game (and rebooting, of course). Same crash.



Below is the stack trace information from clicking "Copy to Clipboard" on the crash dialog.



NullReferenceException: Object reference not set to an instance of an object

--------------------------------------------------------------------------------

RoadRenderer.Unload ()

WorldViewTechnique.UnloadAncillaries ()

WorldView.ReleaseCurrentWorldViewTechnique ()

WorldView.UnloadGame (IGame game)

Amplitude.Unity.View.View.GameService_GameChange (System.Object sender, Amplitude.Unity.Game.GameChangeEventArgs e)

Amplitude.Unity.Game.GameManager.OnGameChange (Amplitude.Unity.Game.GameChangeEventArgs e)

GameManager.OnGameChange (Amplitude.Unity.Game.GameChangeEventArgs e)

Amplitude.Unity.Game.GameManager.ReleaseGame ()

GameClient.Dispose (Boolean disposing)

GameInterface.Dispose ()

Session.Dispose (Boolean disposing)

Amplitude.Unity.Session.Session.Dispose ()

Amplitude.Unity.Session.SessionManager.ReleaseSession ()

RuntimeState_Lobby.End (Boolean abort)

Amplitude.Unity.Framework.FiniteStateMachine.Update ()

Amplitude.Unity.Runtime.RuntimeManager.Update ()



--------------------------------------------------------------------------------

V1.0.46 S3 (32-bit)
0Send private message
10 years ago
Apr 21, 2015, 2:35:44 PM
Hello Falcotron,

Thank you for your report. Just one question, have you tried the workarounds that we have listed here?
0Send private message
10 years ago
Apr 21, 2015, 10:09:50 PM
Saylawl wrote:
Hello Falcotron,

Thank you for your report. Just one question, have you tried the workarounds that we have listed here?




The only OS X workaround there is the solution to the problem of Mono not installing automatically. Which isn't my problem; the game wouldn't have gotten this far if Mono had failed to install.



It also says "you can try some of the workarounds listed above" (the Windows ones), but you really can't try any of them. I can't switch to 32-bit when you only ship 32-bit in the first place; I can't set Windows7 compat mode; etc.
0Send private message
10 years ago
Apr 21, 2015, 10:24:29 PM
Actually, there is one of the workarounds you can do: You can set the -useembedded launch option. If I do that, the game just silently fails to start.



I assume that's doing the same thing as running ~/Library/Application Support/Steam/SteamApps/common/Endless Space/Endless Space.app/Contents/MacOS/Endless Space -useembedded from the terminal, so I tried that to see what happens, and the game immediately exits after writing this to stdout:



Mono path[0] = '/Users/…/Library/Application Support/Steam/SteamApps/common/Endless Space/Endless Space.app/Contents/Data/Managed'

Mono config path = '/Users/…/Library/Application Support/Steam/SteamApps/common/Endless Space/Endless Space.app/Contents/Data/Managed/etc'

0Send private message
0Send private message
10 years ago
Apr 25, 2015, 10:16:22 PM
Just try to double-click on the file "MonoFramework-MRE-3.4.0.macos10.xamarin.x86.pkg" in your game folder, it worked for me !
0Send private message
9 years ago
Aug 29, 2015, 9:12:34 PM
I am in a similar situation



The game if it can load will not open the tutorial or a new single player game.



Installing the Mono pkg file does not help, running the game in OS X 10.10 Yosemite or OS X 10.11 El Capitan Public Beta doesn't do anything. Verifying the integrity of the game cache and reinstalling doesn't help. Running the at launch executable recommended by some users didn't help.



I've provided the diags in the hopes that they will help to find a solution. I really want to play this game.
Diagnostics.zip
0Send private message
9 years ago
Sep 24, 2015, 2:27:17 AM
I found a solution that works for me -- launch the game... wait for it to crash. Then go delete this file:

/Users//Library/Application Support/Endless Legend/Users//Registry.xml

Then launch again and it works.
0Send private message
?

Click here to login

Reply
Comment

Characters : 0
No results
0Send private message