This object is in archive! 

[CRITICAL] v1.197.1: Game unplayable, crashes to desktop

Antti Koponen shared this bug 3 years ago
Solved

After updating Space Engineers from 1.197 to 1.197.1, the game doesn't start properly anymore, and is completely unplayable. When launching the game from Steam, the splash screen is briefly displayed. After a little while, a black screen appears (sometimes the SE cursor also appears and is movable) indicating that the game is starting, but after a while, the application quits/crashes and the game fails to launch.


I have done all the debugging steps explained in the comments of this post, including deleting all game files and completely reinstalling the game, and checking for OS & driver updates and reinstalling VC Redist. Keep in mind that the game was working just fine before the update, so something is definitely broken with it.


Attached are game logs and event viewer logs indicating the application crash.

Edit: Event Viewer logs additional warnings when running the game, so included those in the SE_crash_eventvwr.txt file.

Replies (11)

photo
2

Hello, Antti,

thanks for letting us know! We are not able to reproduce it on our side so far, but currently investigating with the logs you (and other players) provided. Thanks for that and for your patience.

Kind Regards

Keen Software House: QA Department

photo
3

Hey, and thanks for the info!


I did a bit more digging, and after attaching WinDbg to Space Engineers, I found that the game gets stuck in a constant loop with this instruction:

0:015> g
(5554.54f8): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
KERNELBASE!LocalBaseRegOpenKey+0x39:
00007ffd`45032d09 48894c2450 mov qword ptr [rsp+50h],rcx ss:000000f8`c3400f50=????????????????
This is also the same exception code (0xc0000005) that Windows Event Viewer reports, so definitely has something to do with the game crashing. If the devs need any more information, I'd be glad to help debug and solve the issue!

photo
1

I am also having the blackscreen crash without error and had a lengthy conversation on steam forums about it so you can get an overview of things that were said or done to fix it.

And if you can't reproduce it, you can for all I care literally remote into my pc if you think that could somehow help.

photo
2

Does everyone with this issue have an NVIDIA GTX card? I see that Grey-fox-13 has a GTX 1070 as well as me, Antti has a GTX 1080, I see some other threads have a GTX 1660 Super, the common trend seems to be GTX cards. A friend with an RTX 2070 had no issues with this update.

photo
1

Again, more digging: adding -skipintro as a launch option makes the game get to the screen shown below. However, the game is still frozen and doesn't respond to mouse clicks, and crashes after a while. Sounds load and play also.

be30fae9ddbd9c392129f65d2f8572c0

photo
4

After a lot of digging, I seem to have found a semi-stable workaround for the crash. Using the -skipintro launch option in combination with deleting or renaming the /steamapps/common/SpaceEngineers/Content/Videos folder seems to get rid of the issue most of the time, for me. Your mileage may vary, but please try and see if the following workaround works for you.


In regards to this, after many hours of decompiling .dlls to try and get the crash dumps to show some viable information, I've found out that the culprit is in \SpaceEngineers\Bin64\VRage.Platform.Windows.dll, in namespace VRage.Platform.Windows.DShow. The internal class MyVideoPlayer has these lines of code:

      int hr = captureGraphBuilder2.RenderStream((DsGuid) null, (DsGuid) this.MEDIATYPE_Audio, (object) ppFilter, (IBaseFilter) null, (IBaseFilter) null);
      if (hr != -2147467259 || hr == 0)  // <---- Access violation happens here
        MyVideoPlayer.checkHR(hr, "Can't add Audio Renderer to graph", false);
According to Visual Studio, the violation happens when the if check is done: if (hr != -2147467259 || hr == 0)


DISCLAIMER: The decompilation was done solely for the purpose of debugging the issue and trying to solve it, and in no ways am I trying to breach the EULA or use the code for any malicious activities. Just trying to help here and get the issue solved!

Please reach out to me here or via my Discord (Kopo942#6666) if any additional info is required.

photo
1

Well that worked for me too, thanks Antti for the workaround solution!

photo
1

That's another confirmation from me. Skipping intro and deleting video files got the game running as intended.

photo
3

Adding to my own comment: as I said, the solution is semi-stable. If nothing is clicked in the main menu for multiple seconds, the game might crash with another access violation. This time the game generates a proper crash log with a stack trace, see the file attached.

photo
1

Antti Koponen, excellent work. I hope the devs take notice.

photo
1

after changing to windowed mode in the cfg, i got to the same issue you seemed to be having however the suggested fixes arent working, updated my ticket with the new info and just waiting on a response from keen

photo
1

Antii, Thank you for posting this workaround. This has the game working for me now. Too bad Keen hasn't been able to find this simple suggestion to provide users at least a workaround until they figure out the root cause. Can't help but think Keen doesn't take it too serious to resolve issues they caused to break their game.

photo
1

This worked for me as well... The issue has to be centered around NVIDIA cards... In the same day I had an AMD card and NVIDIA card and the AMD card worked and the NVIDIA one did not. WAS able to replicate, I put the amd card back in and the game runs fine again. nvidia card is the issue. (have tried old drivers new drivers and EVERY fix the support people have mentioned on THIS page. Thanks again, hopefully this issue will be fixed.

photo
1

This worked for me!! After disabling my second display, changing settings on my display, turning off and ending the processes for my VPN, disabling my firewall, unplugging external drives, uninstalling & reinstalling multiple times to my C: drive, editing and deleting the .cfg file multiple times, deleting my shadercache folders, downloading and reinstalling multiple Microsoft .net frameworks, verifying files through steam multiple times, checking all my drivers are up to date twice, and restarting my pc like I did it for a living, this FINALLY worked!!! Spent an entire afternoon troubleshooting just to enter a command and skip the intro..


Thank you so much Antti for posting this fix for all of us here, in addition to those who didn't create a Keen profile yet found themselves on this webpage. Your efforts have not gone in vein!

photo
1

I had this exact problem with the game and managed to sort it with the solution suggested above:

"sing the -skipintro launch option in combination with deleting or renaming the /steamapps/common/SpaceEngineers/Content/Videos folder seems to get rid of the issue most of the time, for me."

I opened a ticket before reading this here.

Many thanks to Antii Koponen!

photo
2

i had the same issue. got it to work by making another windows user account.

photo
1

i seem to be having a similar issue, the splash screen opens up but then after a few seconds the game crashes. this has been happening and i have been sending the logs to Keen with zero response, none of the suggestions you've made have worked unfortunately, none of the suggestions I've received from the discord have helped either. It was suggested that it could be crossplay causing the issue hence the 2 logs, one with and one without an active internet connection.


https://support.keenswh.com/spaceengineers/pc/ticket/18592?access_key=6373-864a8616

photo
1

Ok, this needs to get fixed, Without all the technical difficulties.

photo
1

Hello everyone!


We are sorry that you are experiencing this issues. Thank you Antti for your workaround and logs, I'm communicating with our programmers. Unfortunately, we have not been able to reproduce it yet.

Can you all please write here your PC specifications including your drivers version?


Kind Regards

Keen Software House: QA Department

photo
1

Hey Kateřina,


I'm running an Intel i7-4790 & Nvidia GTX 1080 with version 461.40 WHQL drivers.

photo
1

You can check my problem report for more information!

It's here https://support.keenswh.com/spaceengineers/pc/topic/immediate-crash-on-startup-of-game

photo
1

Somebody else also noted the repeating trend of GTX cards, computers with RTX cards worked completely fine according to him.

photo
1

I have an Intel i7-6700K & NVIDIA GTX 1070 with version 461.40 of the driver.

Other (slightly) unusual things about my system: I have Space Engineers installed on a separate (non-SSD) drive.

The workaround (-skipintro combined with renaming the video folder) worked for me.

photo
1

Experiencing the same issue with an i5-4590 and GTX 960 that has hundreds of hours in the game.

Logs were useless. Updating nvidia drivers to latest, rebooting, and reinstalling the game had no effect.

Workaround (skipintro and removing video files) let me launch the game.

photo
1
photo
1

Hello!


Thank you all for the information!


Keen Software House: QA Department

photo
1

Hello, everyone!


Thank you all for the information. We're sorry to hear that you're experiencing issues.


Before taking any of the steps below please make sure that your PC meets the minimum system requirements:


https://www.spaceengineersgame.com/system-requirements.html


The kernelbase.dll crash occurs in a wide range of games and apps in general. The crash isn't typically caused by Space Engineers and may be the result of a system issue. Hopefully, we can provide you with a solution to your issue quickly. However, we may not be able to address your issue until a future update or hotfix to Space Engineers.


In the meantime, please take the following steps:


  • Update Windows (The most recent update for MS Windows 10 is Microsoft Windows NT 10.0.19041.0)

  • Update your graphic drivers

  • Reinstall the Visual Studio redistributable: Download the latest version from the official Microsoft website (x86: vc_redist.x86.exe OR x64: vc_redist.x64.exe)

  • Run as a different user (a corrupt windows user profile is a common source of this error)

Please follow these steps and let us know if it helped you. Thank you.


Kind Regards

Keen Software House: QA Department

photo
3

How can we take any support serious with that last reply, are you a bot?

photo
1

You replied with the exact same thing on my post!

Coincidence? I THINK NOT!

Bot alert? Perhaps.

photo
1

I retract my last statment.

photo
1

Hello, everyone!


Do you still experience this issue? Have you tried the suggested steps?


Thank you.

Kind Regards

Keen Software House: QA Department

photo
1

i had the same issue, tryed the -skipintro and deleting videos and reinstalling VC destro latest, and updating windows and grafix drivers but the only thing that worked was making a new windows account and logging in. t is related to that registry point that someone had already mentioned above.


thanks for sharing any new info of why this is happening and haw to get it fixed from the root

EDIT: i found an easier solution, it has nothing to do with code editing or complicated regediting, after lotst of digging arount and experimenting you can simply go to the spaceengineers folder in Roming directory and copy it all to a safe location then delete it, then restart steam restart space engineers it should work (with -skip intro and video folder deleted) then exit game, exit steam, put back all the files you saved in safe place to thier original folder EXCEPT shedarchach. start steam, start game , you will find your games and mods all where you had left them!

Best regards

photo
1

Hello Mostafa!


Thank you for your reply! I'm glad that creating a new windows account solved your issue. Also thank you for provided workaround.


Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineers!


Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.


If you or any other player will experience this issue again, please make a new thread and provide all needed info there.


Thank you for understanding.


Kind Regards


Keen Software House: QA Department

photo
1

I'm unable to provide any new comments other than the issue still persists in 01_198_024 and is not outdated.

photo
1

Hello Antti!


Thank you for your update. I'm sorry we still weren't able to find a solution for this, I'm reopening this issue. Can you please attach here your logs from the latest game version 198.027?


Please send us:


SpaceEngineers.log

VRageRender-DirectX11.log

Log from Windows Event Viewer


One more question, I assume there won't be a dialogue after the game crashes (abut sending logs)?


Kind Regards

Keen Software House: QA Department

photo
1

Hello, Engineer!


Because there is no new comment from you, and we are unable to reproduce the issue on our own, I will close this thread now as outdated.


If you or any other player will experience this issue again, please make a new thread and provide all needed info there.


Thank you for understanding.


Kind Regards


Keen Software House: QA Department

Replies have been locked on this page!