Game Crash

Started by 47a, May 14, 2017, 12:08:22 AM

Previous topic - Next topic

47a

Seems this is the issue, but having another problem as well now potentially, so i refrained from using the windows key during my play session just now, was fine for a good maybe hour or so but i'd experience freezing, I could still hear all audio, music, and sound effects as i moved over things but totally frozen visually, when using the windows button to "refresh" it this would have no effect, only undone by ctrl-alt-delete, and these freezes once started became more frequent until eventually crashing as it has previously

Calahan

Can you please post the log file from the above, or if you've restarted the game since then (as the log file gets wiped on each restart), then post a log file from after this freezing occurs. This might be the same issue (Unity) or a totally separate one, but won't know which without the log file.

Also can you please confirm the above playing session test  was done without using mods?

47a

https://files.fm/u/t38m56f9

also was still using mods, I'm concerned disabling mods may break my current save game

Calahan

Thanks once more for the logs.

The "HandleD3DDeviceLost" error is still there, but there's also now a "10 jobs in one tick" error that is RimWorld or mod related (rather than Unity). The game constantly throwing this error might well be the cause of the slow down and eventual freeze. There are numerous bug/support reports on the forum relating to the "10 jobs in one tick" error, and as far as I know, it can be caused by both or either the vanilla game and mods. Although some of the vanilla causes have been fixed between A16 and the current unstable A17 alpha, so you may have encountered one of those bugs (that has been reported and fixed since A16), or the error might be caused by one of the mods you are using.

And for this testing I was hoping you would start a new vanilla A16 game. As you are right to be concerned about removing mods from your current game, as that would indeed cause problems. So please don't do that, and it likely wouldn't help anyway as the game would probably generate errors due to the missing mods and make it even harder to isolate the problem.

But at the moment it would be extremely useful to know if these problems you are having are an underlying issue caused by Unity, or a bug in the vanilla game (that's been subsequently fixed, or not). Or whether it's something specific to that particular save game you are playing. And the only way to know for sure is for you to play a new vanilla game and see if you encounter problems or not. If you have the same problems then it's likely something underlying (Unity or game). If you don't, then it's likely something to do with that particular save game (eg. maybe it got corrupted at some point) or one of the mods your are using is the cause. But testing a new vanilla game would remove those latter two thing from the equation, which diagnostically, would be useful information to know at this point in the process.

47a

Alrighty, I'll create a new vanilla save game and let you know the results, also regarding 10 jobs in one tick is it possible this mod I'm using could be causing it? and possible using fewer jobs at once would resolve it? http://steamcommunity.com/sharedfiles/filedetails/?id=715565262

Calahan

#20
Okay please report back on how the new vanilla test game goes.

As for that mod being the cause... maybe, possibly, likely? I'm not great (to put it mildly) with identifying mod bugs, but if your test game goes well and is problem free, then one of your mods will instantly become the #1 suspect. At which point this thread will probably get moved again to mod bugs, and my involvement would probably end as well. As any advice I gave regarding mod bugs would be a wild guess at best (unless I could copy and paste someone else's answers from a previous report), and more likely to confuse than help.

47a

so after roughly the same amount of time I didn't experience a crash in a new vanilla game, and it still continues periodically in my modded save, and can be avoided if the first time it freezes i save and quit, reload and its good for a while

milon

I'm glad to hear that this is (mostly) functional now.  Have you tried not switching focus to see if the problem persists?

Also, I noticed the DirectX question didn't get answered yet.  RimWorld is using DX 9.0c according to the log file 47a linked.  I think that's the latest DX available to Win7, and if so then we don't need to look any further in that direction.

Calahan

Okay so how did I miss 47a's reply?!?? No idea. No idea at all ???

Anyway, as milon says it's good to hear that it sounds like you've got the crashing issue under control. Or at least under control in the sense that you now know what's causing it, which removes the random factor (as trying to play a game, or using any software that randomly crashes is simply a nightmare).

I don't know if the cause of this crash will ever improve or disappear. But if you Google HandleD3DDeviceLost Unity you'll get results going back to 2012, so it looks like it's been a persistent issue with Unity for a number of years. Which suggests it's unlikely to just suddenly disappear in the next update. So you might have to get used to not switching to the desktop while playing.

47a

Hmm, I avoid switching to desktop until it forces me with a frozen screen, and then eventually crashes after an hour or so of play it'll lock up, audio will continue to play but nothing visually until I switch out and back to it

Calahan

#25
Quote from: 47a on May 18, 2017, 06:43:30 AM
I found someone having a similar issue and it might be mod related, the 10 jobs in 1 tick issue that requires me to alt-tab and eventually results in a crash, would it be safe to move this to mod bugs?

Edit: my performance is also degrading the further I progress, takes longer to load save files and i start experience freezing\crashing quicker than it was previously

The 10 jobs in one tick bug is probably being caused by a mod. So on that basis this thread should be moved to mod bugs. Although it would be handy to keep the info about the "HandleD3DDeviceLost" error in the support forum because someone may well find the info useful if they search the forums for that error (not least myself or one of the other moderators when someone posts a log file with that error in a few months time :) ).

So what I'll do is split one of your above posts off, move it to the mod bugs forum, and attach your log file to it. As there's probably more chance of finding help about that mod bug in the mod bugs forum than here.

Although to be honest, probably the best way of getting help with a mod bug is to try and figure out yourself which mod is causing the problem, usually by trial and error, and then report the problem to the mod author on the related mod thread. As one of the main problems with mods bugs is that only a few of the moderators (I'm not one of them) are well versed enough in modding to understand what mod is causing the error, and why. And if they are busy with RL (since this job is purely voluntary), then we often have to rely on members of the community to help with mod bugs. But that means it can be fairly random as to whether or not someone receives help with a mod bug, or even gets a response to it.

The above is probably made worse at the moment due to all the A17 testing going on in preparation for its imminent release. Meaning any of the modders who might usually have checked the mod bugs forum to see if they could help, are probably busy updating their mods for A17. So thought I'd warn you that you might be in for a long wait for help with this bug (which may turn into an indefinite wait once A17 is released).


Edit - Okay I've split off your most recent post and moved it to mod bug, but quoted it above so that there's record of it in this thread (and so that my post doesn't look like I'm replying to a non-existent post :) ).
https://ludeon.com/forums/index.php?topic=32571.0

Please feel free to edit your new OP to help better explain the issue, and hope someone is able to help you with it (I would if I could, but unfortunately I have no clue about modding, or mod related bugs :( )

47a

Thanks, I appreciate the help :)