error.log (54.8 KB)
Player.log (30.5 KB)
Game crashing randomly with unity error
Hi, Welcome to the forums…
From the logfiles you have provided there are three abnormal debug messages that I can see:
-
NullReferenceException: WindowFocusManager.OnApplicationFocus (System.Boolean focus)
-
Exception: SteamApi_Init returned false. Steam isn’t running, couldn’t find Steam,
-
Failed to LoginWithLatestRefreshToken ErrorCode: InvalidRequest Message: Refresh token not found!
These seem to point to some sort of Window Focus issue, the Steam application not running and a potential issue with the Login process…
You havent provided a dxdiag report so I cannot tell much more about your specific setup or what the diagnostic section (end of the dxdiag report) might be saying is happening.
So… with such an arbitrary selection of abnormal errors, I would suggest a general purpose approach to the problem:
-
Verify the game files via Steam. This is an important first step to do whenever you have LE issues.
-
The Window Focus error could be GPU related and other than seeing that you are using a 2060 on 1080p with 75hz I dont know what settings you are using (le_graphicsmanager.ini) or if your GPU drivers are recent and ok… I would therefore recommend that you do a safe mode, clean GPU driver installation - use something like DDU if you dont know how to do this yourself… Note: just upgrading a driver doesnt always remove old driver files or replace files that may be corrupted. Also, make sure that you enable a maximum framerate limit (not vsync) in the LE game settings… do not leave it unlimited and based on the info I can find about your system, there is no point in setting it faster than your monitor Hz - which looks to be 75fps (i.e. Hz). Also, because of this Focus error, are you alt-tabbing while the game is loading up or while its loading into a new area/map - this can potentially cause random issues for some…
-
Because of the Steam error, I would make sure that your Steam application is updated and working properly. I would also try and make sure that something is not terminating Steam by mistake while you are playing as this is likely to cause instability in the game.
-
I see you are using 19044 version of Windows 10… double check that there are no failed Windows Update patches or optional patches recommended for your hardware… I’d recommend doing a check to make sure that all device drivers and BIOS firmware are all up to date.
-
View Reliability History / Event viewer logs on your system and make sure that there are not any other messages being logged by Windows when LE is crashing… it could provide more information as to exactly what is happening - especially if there is something that happens just before LE crashes.
-
Temporarily do not run ANY other applications or services while testing LE… doesnt matter how irrelevant you might think it is, just temporarily do not run it… There are lots of obscure apps that can potentially cause problems with the Unity game engine so its best to just not use anything while testing LE… This includes things like Steam Overlay which LE doesnt use anyway.
DxDiag.txt (94.5 KB)
in event viewer i am getting
Faulting application name: Last Epoch.exe, version: 2019.4.23.19969, time stamp: 0x60519ea2
Faulting module name: UnityPlayer.dll, version: 2019.4.23.19969, time stamp: 0x6051a069
Exception code: 0xc0000005
Fault offset: 0x0000000000d4360e
Faulting process ID: 0x4724
Faulting application start time: 0x01d80ca01ed3c23d
Faulting application path: D:\SteamLibrary\steamapps\common\Last Epoch\Last Epoch.exe
Faulting module path: D:\SteamLibrary\steamapps\common\Last Epoch\UnityPlayer.dll
Report ID: 7904771c-115f-4b1f-99d8-3d32227425f2
Faulting package full name:
Faulting package-relative application ID:
steam is working fine
my drivers are recently updated using ddu on safe mode
verifying game files was the first thing i did
See if this thread matches your experience and perhaps try some things on here. If nothing works, join the club and wait for a fix unfortunately.
Obviously the Last Epoch error is in the Event viewer, I meant checking if there is anything else being logged at the same time or just before the LE error… Even just an info or warning log around the same moment could help figure out what is happening.
Steam is working fine - how do you know this? Did you attempt to do a Steam reinstallation? The game logged that the link to Steam isnt working - i.e. it couldnt find the SteamAPI so its likely that there was/is a problem between the Unity game engine and Steam. This is not a normal debug error - in fact, I dont recall seeing it before in anyones logs - so it is worth checking. Perhaps there is a Steam dll thats gotten messed up… Perhaps Steam Overlay is enabled and causing some sort of issue… Remember, just because other Steam games might be fine, doesnt mean there cannot be something wrong… LE automates login credentials via the Steam app and this has caused issues in the past when its failed.
GPU driver… Ok. I see that your screen is 60hz… So be sure to set the framerate max in-game to 60fps - your monitor cannot show it faster anyway.
Are you using Windows Gaming Mode or do you have Microsoft Gaming services running? The diagnostic section of the dxdiag shows quite a few Microsoft Store Gaming Services errors… These kinds of things can indirectly cause problems so double check that the Windows Store is not trying to update something and disable Gaming mode while playing LE.
From the diagnostic section, I only see one Last Epoch crash… How often is this crashing happening? Remember this is a beta early access game so crashing should not be unexpected…
Because of the Steam related errors, I would also suggest trying out the Standalone player version available for download from the EHG Account page.
@GileonFletcher That thread is fairly long and may not have anything to do with this particular persons issues - i.e. the log is showing different errors… I understand you are frustrated with your own personal experiences trying to play the game stably, but there are many different possible causes for errors and some can be resolved so assuming that everyone who posts about crashing has the same issue just confuses things and doesnt really offer constructive help.
The thread is long, but if Zack is having the same symptoms then odds are it is the same issue. You say the log is different, but the event viewer log and errors I see are identical to my own. You keep assuming it’s a user error (including on my original thread) and keep scaring people into thinking their computer hardware is failing. Instead of assuming it’s the user, get them to compare it to known issues in that thread. If it doesn’t match, sure it’s probably something else and perhaps the user.
What? User error? How is this user error and how is my advice suggesting its a user error? I am suggesting checking game files, GPU drivers and investigating if there is some other conflict happening and using certain settings that are known to be stable… At no time do I suggest that a user is specifically causing a crash by actively doing something.
Unity errors can be caused by a multitude of reasons - hence the error log and player log debug messages that provide a starting point… The only time I have warned people about hardware are when there are specific errors in the info - like LiveKernel errors which are notorious for potentially indicating failing hardware… Which is most definitely not the case in this thread.
Get your facts straight.
User error is poor wording, more closely to our previous discussion of “me” problems. You assume each of these crash posts with the same error logs are localized “me” errors instead of a larger issue. This doesn’t change the result: Zack should look at some of the previous discussion on the issue. If the symptoms, images, and logs match, then it is almost certainly the same larger issue, hence why I posted the thread.
Edit: I’ve also been seeing about 3-4 Steam forum posts and 1 or so posts on the official forums per week describing the same issue. I don’t think it’s eventually going to impact a large portion of the playerbase, but the number definitely isn’t going down. The biggest concern I have is the silence on the issue… this isn’t something you exactly wait to patch until the next major content update.
i am only getting this error in event viewer nothing else
game is connected to steam and working fine and i disabled steam overlay
no gaming mode and microsoft gaming services are not running
i also limit fps to 60 in game and still crashed tried enabling and disabling vsync and crashing
always a unity window pops up and game crashes
Did you try the standalone version? That will remove Steam from being a possible cause.
Did you attempt to fix the errors with the Gaming service via Windows Store? (look at the end of your dxdiag report for the errors).
Did you check Windows Update for any failed or recommended updates.
Are there any GPU driver overrides active? I.e. do you have any special 3d profiles enabled? any settings that override whatever the game does?
Other possible thing could be a corrupted savegame/stash/filter file…
Look in: C:\Users[username]\AppData\LocalLow\Eleventh Hour Games\Last Epoch
Backup the files in “Filters” & “Saves” - make sure you have a copy.
Delete all the files in the save & filter folder…
Start the game again…
Sometimes the game settings file can also get messed up - try deleting the le_graphicsmanager.ini file (and the .bak) - the game should then recreate a new default settings file… its worth a try…
Is your GPU overclocked?
One additional question - you dont describe what you are doing in the game when the crashes happen… Are you doing something specific that causes the crash? Are you loading into a new area or map? Does it crash when you use a specific skill? Does it happen with a specific character you have created or ANY / NEW ones too?
gpu is not overclocked
game is new and crashed just after purchase with this error on start menu then it crashed on loading screen and then it crashed during gameplay roaming the map
i tried deleting files and it crashed again
there are no gpu overdrives or special 3d profiles i always keep them at default
windows up to date
i don’t know how to fix the errors with the Gaming service via Windows Store
i have not yet tried the standalone version but using steam should not give this error
i can play for 5-10 minutes before crashing
I used to have no problems with this game just a few months ago. I decided to try it again recently and got this unity crash error all over the place. Most of time it is before even the game loaded. A white box with Unity 2019.4.3 error whatever. Even if by some miracle the game loaded properly it crashed immidiately when i select a character and push play button. I cannot pass this point no matter what i do. I reinstalled the game , i removed the old nvidia drivers and installed the most recent one , i did integrity check , installed dxdiag again - it still crashes. Don`t have any problems with other games through steam or otherwise. I really hope someone can find a viable solution to this problem.
p.s excuse my poor english it is not my first lang
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.