Teardown-Issue-Tracker-Maintainers / Teardown-Issue-Tracker

A public repo for the community to track issues/bugs/feature requests in Teardown.
11 stars 6 forks source link

[Bug] Game crashes when entering water #564

Open therealcharmics opened 4 weeks ago

therealcharmics commented 4 weeks ago

Describe the bug

When the player's head goes below water, the game crashes. This seems to occur with any body of water but is especially confirmed for the river at Lee Chemicals. The first frame underwater is rendered, on which the game freezes, and all sound stops immediately. If I had to guess, it's caused by an issue with the "muffled" sound filter for being underwater, but that's pure speculation.

Steps to reproduce the behavior

  1. Do a clean install of Windows 10 Pro
  2. Install Steam and Teardown
  3. Load Lee Chemicals
  4. Enter the water
  5. The game freezes on the first frame below water
  6. The game closes itself / crashes
  7. (No windows message appears)

Expected behavior

The game does not freeze and crash.

Environment

Additional context

This did not used to happen to me, and seems to have started when I got a new PC with a new installation of windows. Maybe I'm lacking a C++ redist or something that was missed in the requirements?

I tried reinstalling the game, as well as changing all the graphics settings, with no luck. I don't have any software that I didn't have on my old OS installation.

I did some googling and found that at least two other users on steam had this issue.

nooitaf commented 4 weeks ago

Did you disable all mods?

therealcharmics commented 4 weeks ago

No mods were enabled, but I also tried unsubscribing from all of them. I have also tried both DirectX and OpenGL, restarting my PC, and setting the ingame audios to 0%

nooitaf commented 4 weeks ago

Just for reference.. you don't need to unsubscribe.. just right-clicking in the center column of the mods list in game and selecting "Disable all mods" should do it.

Someone fixed a startup crash by installing Visual C++, maybe that helps.

Also.. i assume you installed the GPU version of 552.22 .. not 522.22 (which is old)

therealcharmics commented 4 weeks ago

You're right about the Driver version, my bad.

It looks like I have both the x64 and x86 redists from here already, but I went ahead and "repaired" them anyway, with no luck.

I have tried running at a variety of refresh rates and resolutions with no change. However, I noticed that if the game is in windowed mode, a blank CMD window comes up when the game crashes. I have to assume this is the crash reporter in action - hopefully you guys are getting logs!

therealcharmics commented 4 weeks ago

I have "fixed" the issue - I suspected it was something to do with sound, so I finally tried disabling all my audio devices. That worked. I will test more with quality settings and things, but my headphones are a standard pair with a 3.5mm connector. My motherboard is the ASRock B650I LIGHTNING and I installed the realtek audio drivers from the motherboard's official support page. I'll report back with more testing info.

Additional note: Loading the marina in sandbox and jumping into the water is way faster for testing.

therealcharmics commented 4 weeks ago

No luck. I reinstalled my audio drivers completely, but any variety of quality settings / ports / driver configuration doesn't seem to help. Otherwise, I've had no other issues with audio, but I've only had the system for about a month, so depending on what's going on, it may be possible it's something on my end.

I do not see any special requirements for the sound adapter, so I assume the game isn't doing anything too fancy. Very strange issue.

therealcharmics commented 4 weeks ago

Okay, final note for now, because now I can be more or less certain it's not "on my end". I found a USB to 3.5mm audio adapter I had and tested it out, and the issue still occurs. This should eliminate my motherboard sound adapter and its drivers as a potential cause.

YuLun-bili commented 4 weeks ago

@therealcharmics You could try using SteamCMD to revert game to 1.5.3 version and see if issue persists. One of the changes from 1.5.3 to 1.5.4 is "Added 5.1/7.1 sound support." which I assume changed some audio related stuff

YuLun-bili commented 4 weeks ago

last public branch update before 1.5.4 is https://steamdb.info/changelist/21599028/

therealcharmics commented 4 weeks ago

Thank you for the suggestion and resource! I can confirm that 1.5.3 works flawlessly. I used download_depot 1167630 1167634 888628616412251554 (as seen here), which corresponded with the date on the linked changelist.

Hopefully this issue can be identified and patched in the next update. Let me know if I can provide any further testing or information!

Gregory-Gregory commented 3 weeks ago

@therealcharmics hi!

Is it correct that the game still does not crash if you disable all your audio devices? Also, I want to forward this issue to the team for additional investigation, can you please also share:

  1. A local crash dump, which may be in some of the following paths:
    • \AppData\Local\CrashDumps
    • \AppData\Local\Teardown\crash
    • \Documents\Teardown\crash
  2. The options.xml and log.txt files from here: AppData\Local\Teardown
  3. Your DxDiag file. To get it:
    • In Windows, select Start and enter dxdiag into the search box on the taskbar. Select dxdiag from the results.
    • In the tool, select Save All Information for an easily shared format.

It will help them a lot with the investigation. Thank you for your cooperation!

therealcharmics commented 3 weeks ago

@Gregory-Gregory hi!

The game does still not crash if all audio devices are disabled, yes... Is there some reason that might have changed?

I've added a zip with everything, but I can tell you right now that nothing in options.xml will be useful, as I tested every combination of options the game exposed to me, and I don't see any hidden settings in there. All that's going to reveal is the settings I merely happened to have set at that time. Hopefully everything else will be of use, though.

I imagine the bug comes down to an exception when playing the sound for entering the water on some stereo systems, which was introduced as a result of adding surround to the game. Could be wrong, of course, but that's what the evidence indicates.

Let me know if I can provide anything else.

Teardown Water Audio Crash.zip

Gregory-Gregory commented 2 weeks ago

@therealcharmics hi again!

Thank you for the archive with the files. I have forwarded all the information from this discussion to the team. If they need any additional details, I will let you know.

Gregory-Gregory commented 2 weeks ago

@therealcharmics hi again!

After some checking, the team suggested that the Antivirus could have tampered with some game files.

Just in case, please check the integrity of the files, and check the issue again.

If the issue persists, send an archive with the game files: AppData\Local\Teardown.

Thank you!

therealcharmics commented 1 week ago

The only antivirus I use is default Windows Defender. I went ahead and wiped the game's files in the Steam Library, AppData, and Documents, and reinstalled it fresh from steam again. The game continues to crash in exactly the same way.

I happened to have recently installed a virtual audio device, and tried again with only that enabled. The issue persists there, too, so it's definitely on the game end of things.

Here's the archive: Teardown.zip