View Issue Details

IDProjectCategoryLast Update
0014312The Last FederationCrash/ExceptionApr 21, 2014 12:02 am
ReporterPattyG Assigned ToChris_McElligottPark  
Status closedResolutionno change required 
Product Version1.001 (Bugfixes, Large Screen Resolution Support) 
Summary0014312: Game crashes on start
DescriptionWhen I start the game in windows the game will crash the moment the window opens up with an error popup saying "DuplicateHandle failed". This is only happening on windows for me, I have played the mac version with no problems thus far. This crash doesn't always happen as I have played a couple of games on windows.

My computer is running windows 7 and I have not had any other problems like this with any of your other games.

I have attached a screenshot of the error popup.
TagsNo tags attached.
Internal WeightNew

Activities

PattyG

Apr 20, 2014 6:13 pm

reporter  

error.png (74,188 bytes)   
error.png (74,188 bytes)   

Chris_McElligottPark

Apr 20, 2014 7:59 pm

administrator   ~0036340

There's a thread here where we're trying to hunt down the cause of that for someone else: http://steamcommunity.com/app/273070/discussions/0/558753803782716565/

But relevant snippets:

-----

Most likely it's just a corrupt download -- that happens sometimes with Steam. All you have to do is verify your local file cache in those circumstances, and that tends to solve it.

-----

Oh! Apologies, the other thing it could be is antivirus. Avast and Kaspersky are known for killing Unity 3D engine games for no real reason. With those, and occasionally other antivirus programs, all you have to do is make an exception for the game executable to say that it's okay, and that solves the issue.

-----

(If still not working)

Are you sure there is no other antivirus in there messing with it? Or antispyware programs? On launch the game does check an amazon s3 file to see if there is an update available for the game, and some anti-whatever programs freak out about that.

In terms of launching directly instead of from steam, I have no idea why that would be the case, that's a new one on me. What OS? Are there error logs that you can post from the RuntimeData folder? Also, if you are on windows or linux, in the LastFederation_Data or LastFederationLinux_Data folders, there is an output.log file that would be useful to have to look at.

-----

Well, you can try unzipping this into your game folder: http://www.arcengames.com/share/tlfsettings.zip It goes inside the RuntimeData subfolder. That turns off the automatic check for updates, as well as putting you in windowed mode instead of fullscreen mode.

Based on the logs you are sending me, neither the unity engine nor our game logic is logging any error whatsoever. Any error of any significance, anyway (there is a binding to the steam dll failure note, but that affects nothing).

So what that tells me is that some other process is either actively killing the unity engine process, or trying to inject something into it that makes it die. An example of a program that injects itself into other programs is actually Steam: it puts in the steam overlay and all that good stuff for any game you launch from steam. There are some other similar programs out there that do this, like XFire and similar. We haven't had any known issues with anything like that in a while, but it could be that some program of that sort is causing an issue.

Hopefully it's just still the game being killed because it has the audacity to check for updates. ;) In that case, the settings file I provided, if you put it in that RuntimeData subfolder, prevents any sort of internet connections from being launched at all within the game, and thus should prevent any security software from killing it.

-----

Also, here is some more information from another unity game, same issue -- this one being Realms of Arkania, but it's all the same thing when it comes to outside stuff killing the unity engine: http://steamcommunity.com/app/237550/discussions/0/648811852265705919/

-----

Hope one of those things helps!

PattyG

Apr 20, 2014 8:23 pm

reporter   ~0036344

Verifying the integrity of the game cache seemed to fix the issue. It looks like something on my side is corrupting some of the files.

Chris_McElligottPark

Apr 21, 2014 12:02 am

administrator   ~0036349

Glad that did it! Probably steam just didn't download it all properly in the first place.

In terms of it having to keep re-verifying one file, I think that is usually actually just a log file or something that is not actually anything that is wrong, just something it constantly feels the need to replace.

Issue History

Date Modified Username Field Change
Apr 20, 2014 6:13 pm PattyG New Issue
Apr 20, 2014 6:13 pm PattyG File Added: error.png
Apr 20, 2014 7:59 pm Chris_McElligottPark Note Added: 0036340
Apr 20, 2014 7:59 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Apr 20, 2014 7:59 pm Chris_McElligottPark Status new => feedback
Apr 20, 2014 8:23 pm PattyG Note Added: 0036344
Apr 20, 2014 8:23 pm PattyG Status feedback => assigned
Apr 21, 2014 12:02 am Chris_McElligottPark Internal Weight => New
Apr 21, 2014 12:02 am Chris_McElligottPark Note Added: 0036349
Apr 21, 2014 12:02 am Chris_McElligottPark Status assigned => closed
Apr 21, 2014 12:02 am Chris_McElligottPark Resolution open => no change required