Multiple, Frequent Crashes to Desktop

mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
SubNaut version 59783, build date 1/22/2018.

My system:
Desktop PC, I5-4690K CPU @3.50GHz (no overclocking), 4 threads, 8 GB RAM initially, now 16 GB
GPU Nvidia GTX 1070, 8 GB RAM
Windows 7 Pro, SP1, 64-bit

I bought this game three days ago, and have had approx 100 crashes back to desktop. Half the crashes were during the game loading screen (i.e. seconds after choosing "new game" or a clicking a save file), and the other half of the crashes were in random places during normal game play (e.g. I could be using fabricator, or floating motionless in water, or climbing back into my base, etc.)

I tried:
 Checked the game's minimum requirements (my h/w passes).
 Updating video and audio drivers.
 Updating all Microsoft Windows files.
 Uninstall and reinstall SubNaut.
 Monitored CPU and GPU temperature (they were fine).
 Full screen or windowed screen modes.
 Full monitor size (3440x1440) or smaller (1920x1200).
 Task Manager and GPU Monitor, and no problems apparent from that.
 Turned graphics setting down to medium.
 Set audio quality to 24bit 44100 Hz.
 Played with no other applications running.
 Tried running off HD or SSD.
 Increased virtual memory.
 Turned off my screen’s GSync, so running at 60 Hz instead of 100.

None of the above worked -- the game continued to crash every few seconds or minutes (always so quickly that even my longest game didn’t get to game-day 2).

I eventually tried two of the above: even though my GPU wasn’t stressed, I reduced the window size from 3440x1440 down to 1920x1200, AND lowered the graphics setting from high to medium. The game played for MUCH longer, sometimes as long as two hours before crashing.

It’s a great looking game, so I’d love to play it full screen and at high quality, but at those settings either the load screen crashes or game play does within a couple of minutes. Even with playing it in a small window and medium graphics, it repeatedly crashes after somewhere between 10 minutes and 2 hours, necessitating frequent saves and restarts, which does a lot to ruin game immersion.

In desperation this morning, I went out and bought +8 GB, so I now have a 16 GB RAM system. I retried the game at 3440x1440 and High graphics, and the game did average maybe 5 minutes longer before crashing than it used to with only 8GB.

Attached are the dxdiag and output_log from a recent crash. If you want any more logs, I can easily generate dozens of them 

dxdiag at https://pastebin.com/bU1kWSfR
log at https://pastebin.com/5FWg7ERF

It's a great looking game. I'd love to be able to play it properly.


Comments

  • MarinxarMarinxar yes Join Date: 2018-02-14 Member: 237630Members
    Same issue. Here is logs :smile:

    Output log :

    Heartbeat CSV, time s,134.3099, GC.GetTotalMemory MB,356.2578, OctNodes MB,7.247925, CompactOctrees MB,122.9886, CellManager MB,11.81092, ClipMapManager MB,13.3076, GCCount,40, PlayerPos,-20.54508,1.853141,-68.85342, WorkingSet MB,1681.395

    (Filename: C:/Subnautica/plastic_workspace_unity/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

    Crash!!!
    SymInit: Symbol-SearchPath: Steam/steamapps/common/Subnautica;:/Steam/steamapps/common/Subnautica;:/WINDOWS;:/WINDOWS/system32;SRV*:/websymbols*msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'Danie'
    OS-Version: 10.0.16299 () 0x100-0x1
    \Steam\steamapps\common\Subnautica\Subnautica.exe:Subnautica.exe (00007FF68DB10000)


    error.log :

    Unity Player [version: Unity 5.6.2p4UnknownWorlds_0]

    Subnautica.exe caused an Access Violation (0xc0000005)
    in module Subnautica.exe at 0033:816eb27a.

    Error occurred at 2018-02-14_150048.
    J:\Steam\steamapps\common\Subnautica\Subnautica.exe, run by Danie.
    58% memory in use.
    12223 MB physical memory [5019 MB free].
    14079 MB paging file [3666 MB free].
    134217728 MB user address space [134214432 MB free].
    Write to location 816eb27a caused an access violation.

    Context:
    RDI: 0x00000006 RSI: 0x00000001 RAX: 0x00000000
    RBX: 0x00000000 RCX: 0x00000000 RDX: 0x00000001
    RIP: 0x816eb27a RBP: 0x80800101 SegCs: 0x00000033
    EFlags: 0x00010246 RSP: 0x0e31f628 SegSs: 0x0000002b
    R8: 0x80800101 R9: 0x00000000 R10: 0x80800101
    R11: 0x00000000 R12: 0x04d600f0 R13: 0x00000000
    R14: 0x00970be4 R15: 0x80800101

    Bytes at CS:EIP:
    ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ??

  • ScatterScatter Join Date: 2012-09-02 Member: 157341Members, Squad Five Blue
    I too crash often and wish there was a save button for hardcore (not just save and quit)
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    It looks like no one from the company will bother to respond to my bug report, but just in case any other user with the same problem is reading this, I found a workaround:

    I created a batch file with the following text:

    cd s:\games\steamlibrary\steamapps\common\subnautica
    subnautica.exe --force-d3d9

    The first line is the directory where the subnautica.exe resides. Change this to whatever path you use.
    The second line forces subnautica to use dx9 rather than dx11. That was stable for me.


  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    As a further update:

    The force -d3d9 hack isn't completely stable; it just helps quite a lot. The game still crashes to desktop every hour or so (it's very random).

    I am very unimpressed by the developers not responding to bug reports that are rich in details.
  • 0x6A72320x6A7232 US Join Date: 2016-10-06 Member: 222906Members
    --force-d3d9 was supposedly removed. Mind posting a output_log.txt in d3d9 mode? I"m curious what the engine is doing with that switch enabled (as it's supposedly removed).
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    edited February 2018
    0x6A,

    I saw your request above, fired up the game, set the graphics level to high and window size to 3440x1440, confident that it'd only take a few minutes to crash. I kept playing and playing, taking getting on toward 2 hours before it crashed. Here's the output log you requested.

    https://pastebin.com/vU14JpnX

    I just checked to make sure, and the Steam > Subnautica > Properties > Set Launch Options does contain
    "cd S:\games\steamlibrary\steamapps\common\subnautica\subnautica.exe" -force-d3d9
    (Drive S is my SSD)

    I look forward to reading your thoughts

    Another output log from a crash about 30 minutes later
    https://pastebin.com/P3ja0tHC
  • 0x6A72320x6A7232 US Join Date: 2016-10-06 Member: 222906Members
    Well:
    Initialize engine version: 5.6.2p4UnknownWorlds (0)
    GfxDevice: creating device client; threaded=1
    Direct3D:
        Version:  Direct3D 11.0 [level 11.0]
        Renderer: NVIDIA GeForce GTX 1070 (ID=0x1b81)
        Vendor:   NVIDIA
        VRAM:     8077 MB
        Driver:   23.21.13.9077
    
    Application version: 59783
     
    (Filename: C:/Subnautica/plastic_workspace_unity/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
     
    SystemInfo:
     deviceModel = Z97-D3H (Gigabyte Technology Co., Ltd.)
     deviceName = I5
     deviceType = Desktop
     deviceUniqueIdentifier = 8f0415e22467aae0c17d517324ca6cc6c43aa6a0
     graphicsDeviceID = 7041
     graphicsDeviceName = NVIDIA GeForce GTX 1070
     graphicsDeviceType = Direct3D11
     graphicsDeviceVendor = NVIDIA
     graphicsDeviceVendorID = 4318
     graphicsDeviceVersion = Direct3D 11.0 [level 11.0]
     graphicsMemorySize = 8077
     graphicsShaderLevel = 50
     npotSupport = Full
     maxTextureSize = 16384
     operatingSystem = Windows 7 Service Pack 1 (6.1.7601) 64bit
     processorCount = 4
     processorFrequency = 3500
     processorType = Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
     supportedRenderTargetCount = 8
     supports3DTextures = True
     supportsAccelerometer = False
     supportsComputeShaders = True
     supportsGyroscope = False
     supportsImageEffects = True
     supportsInstancing = True
     supportsLocationService = False
     supportsRawShadowDepthSampling = True
     supportsRenderTextures = True
     supportsRenderToCubemap = True
     supportsShadows = True
     supportsSparseTextures = False
     supportsStencil = 1
     supportsVibration = False
     systemMemorySize = 16276
    

    It appears you're still in D3D11 mode. So... ?? That flag shouldn't make a difference. Maybe you're crashing at random intervals, and it happened to be a long time between crashes when you loaded up using -force-d3d9

    I do see a bunch of these errors:
    WARNING WARNING WARNING: Some how ended up with 0 tris after simplification!
    

    But the engine seems to continue so not sure if related or not.

    Can you try true fullscreen (normally it's borderless fullscreen-sized window) by replacing the custom startup line with this?
    -window-mode exclusive
    
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    0x6,

    Thanks for trying to help.

    I launched the game with -window-mode exclusive, but when the game opened it was still in a small window, so I changed the Options settings from 1600x1200 Medium quality graphics to 3440x1440, full screen, high quality graphics. I exited the game, and relaunched it just to make sure it was in the desired mode.

    The game ran fine for about an hour, so I was starting to get hopeful, but then it crashed. See...

    https://pastebin.com/97eViTtH

    Looking at the log myself, near the end there are several entries for "Registering stray entity kyanite(Clone)" and "Registering stray entity quartz(Clone)". I don't know whether they're relevant, but I was deep in the toxic river cavern, drilling lumps of kyanite in my prawn suit. But when I drilled an entire lump and checked my suit's storage box afterward, there was no kyanite in it! I tried drilling a lump of crystal (checked, and had 10 pieces in storage), then another kyanite (got 1 piece in storage). While looking for the next lump to drill, I saw some most interesting alien looking structures to check out. I'd just arrived there when the game crashed.

  • zontwitchzontwitch Canada Join Date: 2018-02-21 Member: 238022Members
    edited February 2018
    This is a solution that I created for myself. It clears the CellCache folder and batch-object*.txt files. Unfortunately this will reset all resource caches but whatever, until the devs come up with a permanent fix I'm alright accepting this kind of cheat per-say into the game.

    Create a file named ClearCache.bat and copy & paste the code below into this file.

    Change the save game slot0000 to the desired save game slot you wish to affect.

    Also, if you have Subnautica installed elsewhere from the default Program Files x86 then you'll need to adjust the install path of Subnautica below.

    Otherwise every time I want to play the game I run this batch file to launch the game
    @Echo Off
    
    Time /T
    Echo Start cleanup...
    
    CD "%ProgramFiles(x86)%\Steam\steamapps\common\Subnautica\SNAppData\SavedGames\slot0000"
    Del /q CellsCache\*.*
    Del /q batch-object*.txt
    
    For /f "delims=" %%i In ('attrib.exe CellsCache\*.* ^| find /v "File not found - " ^| find /c /v ""') Do Set numcc=%%i
    For /f "delims=" %%i In ('attrib.exe .\batch-object*.txt ^| find /v "File not found - " ^| find /c /v ""') Do Set numbo=%%i
    
    :iscleaned
    
    Time /T
    Echo CellCache files remaining to remove: %numcc%
    Echo batch-object files remaining to remove: %numbo%
    
    If %numcc% GTR 0 GoTo iscleaned
    If %numbo% GTR 0 GoTo iscleaned
    
    ECHO Cleanup complete!
    
    "%AppData%\Microsoft\Windows\Start Menu\Programs\Steam\Subnautica.url"
    
    TimeOut 10
    
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    zontwitch,

    Unfortunately your suggestion did not work for me.

    Here is the output log for a crash only a couple minutes after restarting the game following running a ClearCache.bat

    https://pastebin.com/0zLDK9Hb

    The latest things I've tried are:

    1) the force d3d9 parameter doesn't help (as we now know, that's because it no longer has any effect)
    2) the -window-mode exclusive had no discernible effect (other than the expected of its exclusivity not playing nicely with the other windows I had open).
    3) ClearCache.bat as suggested by zontwitch had no discernible effect.

    Current situation is still random and frequent game crashes to desktop. My disappointment continues.
  • zontwitchzontwitch Canada Join Date: 2018-02-21 Member: 238022Members
    Not really sure what to suggest from here. Are you running in Virtual Reality or normal view mode?

    I currently have 181 hours logged into Subnautica and I also use the window mode exclusive param set in the Steam app Launch Options along with my fix that I wrote. Prior to those two things I felt as though I was crashing every 10-30 minutes but now I have not crashed a single time, the only drawback is that I'm clearing my cache files each load of the game which resets all resource caches.

    Have you tried going into Subnautica properties > local files from within Steam and verifying the integrity of the files?

    Have you tried to see what difference V-Sync makes?

    If you don't like the eye candy update depth of field blur setting that makes everything blurry (and who knows maybe affects performance) you could disable under Options > Graphics > Depth of Field.

    Literally just shooting in the dark at this moment.
  • WidowSonWidowSon Join Date: 2018-02-23 Member: 238148Members
    Tried everything but still this game crashes constantly, almost not worth playing, which is a shame. I have a high spec system, running 1080Ti, i7600k, 32G memory, M.2 SSD 950 pro, but still the game crashes. Reporting access violations.

    Unity Player [version: Unity 5.6.2p4UnknownWorlds_0]

    Subnautica.exe caused an Access Violation (0xc0000005)
    in module Subnautica.exe at 0033:17562122.

    Error occurred at 2018-02-23_075732.
    D:\My Documents\SteamLibrary\steamapps\common\Subnautica\Subnautica.exe, run by Mark.
    26% memory in use.
    32707 MB physical memory [24089 MB free].
    42691 MB paging file [28413 MB free].
    134217728 MB user address space [134209487 MB free].
    Read from location 00000048 caused an access violation.

    Context:
    RDI: 0x00000001 RSI: 0x00000000 RAX: 0x00000000
    RBX: 0x00000001 RCX: 0x00000000 RDX: 0x00004000
    RIP: 0x17562122 RBP: 0x00000001 SegCs: 0x00000033
    EFlags: 0x00010246 RSP: 0x00f3e920 SegSs: 0x0000002b
    R8: 0x00000000 R9: 0x0000000e R10: 0x00000000
    R11: 0xb6a7f848 R12: 0x41edb3f0 R13: 0x00000001
    R14: 0x00000000 R15: 0x00f3eab0

    Bytes at CS:EIP:
    4c 8b 70 48 41 83 7e 38 fe 4c 89 a4 24 e0 00 00

    ......

    ========== OUTPUTING STACK TRACE ==================

    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF717562122)
    0x00007FF717562122 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF71755A2B1)
    0x00007FF71755A2B1 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF716EBBE39)
    0x00007FF716EBBE39 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF717487DE4)
    0x00007FF717487DE4 (Subnautica)
    0x0000000007920512 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.GUILayer:INTERNAL_CALL_HitTest (UnityEngine.GUILayer,UnityEngine.Vector3&)
    0x0000000007920465 (Mono JIT Code) UnityEngine.GUILayer:HitTest (UnityEngine.Vector3)
    0x000000000791D49D (Mono JIT Code) UnityEngine.SendMouseEvents:DoSendMouseEvents (int)
    0x000000000791BB11 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void_int (object,intptr,intptr,intptr)
    0x00007FFBA7355827 (mono) mono_set_defaults
    0x00007FFBA72A8439 (mono) mono_runtime_invoke
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7172D4F04)
    0x00007FF7172D4F04 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7172D01BA)
    0x00007FF7172D01BA (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7174CA2E6)
    0x00007FF7174CA2E6 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF717166F73)
    0x00007FF717166F73 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF716CFB20B)
    0x00007FF716CFB20B (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF716CFB3FA)
    0x00007FF716CFB3FA (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF716D0F059)
    0x00007FF716D0F059 (Subnautica)
    ERROR: SymGetSymFromAddr64, GetLastError: 'Attempt to access invalid address.' (Address: 00007FF7176B36FC)
    0x00007FF7176B36FC (Subnautica)
    0x00007FFBE4741FE4 (KERNEL32) BaseThreadInitThunk
    0x00007FFBE5F8EFC1 (ntdll) RtlUserThreadStart

    ========== END OF STACKTRACE ===========

    **** Crash! ****


    Some support here would be nice as I'm out of ideas, thanks!
  • 0x6A72320x6A7232 US Join Date: 2016-10-06 Member: 222906Members
    e-mail your crash logs and dxdiag output, and any other relevant info to subnautica-support@unknownworlds.com - maybe toss a link to this topic in there as well.

    Please post back any solutions!
  • WidowSonWidowSon Join Date: 2018-02-23 Member: 238148Members
    edited February 2018
    Submitted as suggested, thanks for the info. Not expecting to receive much though as you only get an automated reply, but hopefully it will help them fix a common bug. I've seen comments regarding this issue all the way back to 2016 so I'm surprised it has been released like this.

    "This is an automated response letting you know that we've received your email. If you sent a log file many thanks for sending it along, it will be analyzed and aggregated along with others. Log files help us make a better game.

    An important note - There is a good chance your log file indicates a common issue that you can fix on your end. Check out the troubleshooting guide.

    For all other kinds of requests please head over to the Subnautica forums. The Subnautica forums are an excellent place to ask questions or get help if the game is not running correctly on your machine. We have a very dedicated community experienced in tech support.

    That's it. This automated response is the only reply you will receive. Thanks for helping us make Subnautica better!


    Unknown Worlds"
  • m0nk3nm0nk3n subnautica Join Date: 2018-02-11 Member: 237402Members
    edited February 2018
    @mrjnz did you try verifying integrity of game cache and or reinstalling the game ?

    and maybe see if you can get windows 7 sp2 ?
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    @zontwitch

    1) I am not running in virtual mode.
    2) I’ve tried (and just tried again) window mode exclusive and cleared cache as per your batch, and crashes still occur.
    3) I have Steam-verified the file integrity several times. Never a problem reported.
    4) V-Sync on makes no difference, still get crashes.
    5) Depth of Field unticked makes no difference, still get crashes.

    Thanks for trying to help.

    @m0nk3n

    1) By “verify integrity of game cache”, I assume you mean the Steam > Subnautica > Properties > Local Files > Verify Integrity of Game Files? This I have done several times, with no problems reported.

    2) I have tried reinstalling the game.

    3) Formally speaking, Windows 7 doesn’t have an SP2. I have SP1, and my Windows Update is up-to-date.

    @0x6A & Co.

    The crashes seem to be graphics related because the higher the graphics settings, the faster the crashes comes. This is the case even when I select a new game rather than loading a save file (so the starting data must be very clean).

    If I set the graphics options to max -- specifically: 3440x1440*, Fullscreen not checked, graphics preset high, then motion blur, ambient occlusion, and screen-space reflections all set to high (so preset changes to custom) -- then the game crashes very quickly indeed. Usually during the initial “Loading…” count-up, otherwise after a minute or two of actual play. Note that for this I’m using no “set launch options”, as none of those tried seem to affect this problem.

    Given how fast and reliable the crashes are, it should be fairly easy for a software guy or guyess to zero in on the cause. I hope. Please.

    Regards,
    MRJ



  • PysisPysis United States Join Date: 2018-02-24 Member: 238207Members
    Did some quick reading. I've been lucky enough to never experience crashes.
    I usually play this on Win 10 Pro PCs with AMD processors and a GTX 480, or a GTX 660.
    I try to keep the OS updated, including with latest NVIDIA drivers. It is at 390.77 right now.

    I don't use any command line options. I own the game through Steam. I have settings varied from high for some early gameplay and testing, to medium and low, with some disabled, since the game was very choppy for me.
    I run it off an SSD, and actually record it. I thought recording to the same SSD was causing some of the issue, but it's mostly fine now.

    Anyway, just wanted to enter some of my situation for comparison, and also offer an idea. Is there anything wrong with people's graphics cards that have issues, if not with the driver software, with the hardware? Just saw some information that caused it to crash when people were exercising that more, although that still sounds like a software problem. Or try reinstalling DirectX in case any of those files were corrupted, although I have not had to do this manually in a long time. Drive corruption can do some pretty weird things. Anybody try any graphics card benchmarks, with just stats, and also the demo?
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    @Pysis

    My system is easily capable of running Subnautica: i5-4690K @ 3.5 GHz, 16GB RAM, GTX 1070 vid card w/8GB, Windows 7 Pro.

    The Op System is getting a bit old, but that shouldn't be a problem. I have the latest drivers for everything (including 390.77 for the GPU).

    I'm sure my GPU is fine. It runs other games fine, and handles stress testing (Furmark) without problems.

    I've already updated all the drivers: GPU, Realtek sound, etc. I couldn't reinstall DirectX because it's part of the op system, but SFC /scannow reports no problems.

    Still getting frequent crashes though :(
  • mrjnzmrjnz Join Date: 2018-02-02 Member: 236556Members
    Solved:

    Two days ago, I tried a very unlikely (I thought) possiblility: I ran Subnautica after disabling my firewall (Online Armor). Surprisingly, Subnautica ran perfectly, even after I increased the window size to 3440x1440 and maxed all the graphics settings.

    I reactivated Online Armor, and Subnautica crashed almost immediately. Deactivating OA allowed Sn to run perfectly again.

    Online Armor has a feature called HIPS, which monitors what already-executing programs are doing, and kills them if they start behaving like a virus would. I believe OA was catching Sn doing memory addresses outside the bounds it was meant to (due to sloppy programming rather than any viral intent).

    If anyone reading this has trouble with Subnautica crashing, check to see if you're running a HIPS-empowered security program. Then decide which program to have active.
Sign In or Register to comment.