xivdev / Penumbra

FINAL FANTASY XIV modding, but actually good this time
679 stars 124 forks source link

Game crash upon teleport with Penumbra enabled #93

Open Yumiklus opened 2 years ago

Yumiklus commented 2 years ago

Hello, I have the same problem as 0ShinyNinetales0

When changing the area via teleport or when I enter an instance, the game ends without an error message. a new installation did not bring any improvement

I hope you can fix this because I would love to use Penumbra, it's a great addon

Best regards

Voxel-Bits commented 2 years ago

I also have the same problem.

Looking at Event Viewer log it seems to be related to a DLL:

Application: ffxiv_dx11.exe CoreCLR Version: 5.0.621.22011 .NET Version: 5.0.6 Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFA5747A037 (00007FFA572B0000) with exit code c0000005.

thakyZ commented 2 years ago

I have been having this too, and I have also been having it without penumbra enabled, from what I can tell it is one of my mods, but I am still currently narrowing it down as it's not easily testable.

reiichi001 commented 2 years ago

I have been having this too, and I have also been having it without penumbra enabled, from what I can tell it is one of my mods, but I am still currently narrowing it down as it's not easily testable.

This is most commonly caused by leftover corruption from Textools. Especially if it happens without Penumbra enabled.

Before continuing, please run an integrity check from XIVLauncher's settings. Then state whether the client files are valid or post your integrityreport.txt file from %appdata%\xivlauncher.

mkarer commented 2 years ago

Same here. integrityreport.txt is empty, game files are fine according to XIVLauncher.

It also doesn't occur all the time, it seems kinda random and didn't happen before I enabled T&F G3 3.1.3 + T&F SFW (which was about ~12 hour ago) - will test again without those 2 after queue.

Edit: Yep, disabling those fixed my issues.

heyyitsdaniel commented 2 years ago

How do I prevent this while also using TexTools mods?

ividyon commented 2 years ago

I've had this issue too, but circumstantial evidence suggests it went away after I disabled appearance mods on my own character.

Initially I had mods for all characters + a character collection for my own. Then, first I disabled the former, and finally removed the character collection. I don't think I crashed since.

So, again circumstantially, I believe the issue might be related to your own character being redrawn, perhaps too early in the loading process?

Ottermandias commented 2 years ago

To figure out if it's due to redrawing, just disable automatic redraw and use it a few times yourself. To figure out if it's purely due to early redrawing, increase the wait frames (advanced option) to some higher number.

But I think it's due to some resources being unloaded incorrectly when changing the resource path, or possibly only when changing metadata tables.

heyyitsdaniel commented 2 years ago

Hey, disabling auto redraw seemed to work. Thanks!

Yumiklus commented 2 years ago

Hello, I would like to share my experiences of the last few weeks with you.

First I turned off auto redraw After importing various mods, the game also crashed without changing the zone, but rather rarely. When changing the zone (port or instance) there was often a crash.

When I then restarted the game (using the same mods that previously caused the crash) everything runs fine. Not a crash for hours when porting or changing instances. Since the queues aren't that big at the moment, I can live with that.

Maybe that helps someone with the same problem Best regards

SeanLatimer commented 2 years ago

To figure out if it's due to redrawing, just disable automatic redraw and use it a few times yourself. To figure out if it's purely due to early redrawing, increase the wait frames (advanced option) to some higher number.

But I think it's due to some resources being unloaded incorrectly when changing the resource path, or possibly only when changing metadata tables.

On my end, it seems to be redrawing early that is causing the crash. Upped it to 1800 and stopped getting crashes, so far I have it down to 450 frames wait time with no crashes.

Naixatloz commented 2 years ago

I upped my redraw wait time to 1800 as well, and that seems to have reduced the number of crashes; they aren't as frequent as before. But I've also been getting crashes while I'm still casting teleport, so that would presumably lend weight to the resource path theory.

SeanLatimer commented 2 years ago

Possibly, I disabled redraws again for now because crashes did start popping up again albeit infrequent. The crashes always happened straight after the teleport, right as the load screen would transition to the world even with the wait time turned way up.

thakyZ commented 2 years ago

I just had one of my friends (who does have two mods redrawn onto them) change classes and I crashed instantly as it was attempting to redraw them. The mods for any bit of possible testing were: Mega Fluff, and Fox Ears For All by Posschamp.

Update after checking my logs I found a slew of errors. Ranging in System.IO.IOException: I/O error occurred. to System.NotImplementedException: File Type ########## is not implemented. to Could not obtain default file for manipulation path: all having a stack trace for Penumbra, also the one's where it says the file type is not supported seems to range from 0 to a huge number, and seems to be errors including males however I do have any mods that affect males in this way loaded into penumbra.

Ottermandias commented 2 years ago

Those usually indicate that your index files are corrupted by TexTools.

thakyZ commented 2 years ago

Those usually indicate that your index files are corrupted by TexTools.

Yea I reinstalled them all, and now I still have it just without those errors. Would turning down the logging level possibly reveal anything?

tigurand commented 2 years ago

I have same problem. Mostly when I teleport into populated area like Limsa Lominsa, Old Sharlayan, or Radz-at-Han. I can't find the settings for automatic redraw or wait time on current version. Does anyone knows a way to fix it? I have already checked my FFXIV files and it's not being corrupted by TexTools.

munkviken commented 2 years ago

I have same problem. Mostly when I teleport into populated area like Limsa Lominsa, Old Sharlayan, or Radz-at-Han. I can't find the settings for automatic redraw or wait time on current version. Does anyone knows a way to fix it? I have already checked my FFXIV files and it's not being corrupted by TexTools.

You do not have the same problem as the issue you're replying to is for a completely outdated version of penumbra which has been completely reworked in the backend. Join the Discord server and post more information about what plugins you use and logs.

tigurand commented 2 years ago

You do not have the same problem as the issue you're replying to is for a completely outdated version of penumbra which has been completely reworked in the backend. Join the Discord server and post more information about what plugins you use and logs.

It's my fault asking here. I've seen on discord that several people having same issue without real fix. I will just uninstall penumbra because I don't have any crash without it.

Theo-Asterio commented 2 years ago

I have same problem. Mostly when I teleport into populated area like Limsa Lominsa, Old Sharlayan, or Radz-at-Han. I can't find the settings for automatic redraw or wait time on current version. Does anyone knows a way to fix it? I have already checked my FFXIV files and it's not being corrupted by TexTools.

Redraw is inherent and not something to toggle off and on in current version. Checking integrity also is not the same as a game repair and uninstalling TexTools would not solve your issue. If you still use TexTools then it's likely there has been index corruption if you don't start over after usage.

It's my fault asking here. I've seen on discord that several people having same issue without real fix. I will just uninstall penumbra because I don't have any crash without it.

Discord for the plugin itself can help you. Many people have been able to solve their issues by showing logs, errors, and their settings. If yours isn't solvable it's much better to be in the Discord so it can be fixed if it's a bug/error.