UnityPlayer.dll caused an Access Violation (0xc0000005)

I have recently been playing Kerbal Space Program with some mods and after about an hour or more the game always crashes on me with the error message:

UnityPlayer.dll caused an Access Violation (0xc0000005)
in module UnityPlayer.dll at 0033:edc88630.
[...]
Read from location 0000000000000000 caused an access violation.

Context:
RDI: 0x0000000000000000 RSI: 0x000002171b88fe80 RAX: 0x0000000000000000
RBX: 0x0000021756206a80 RCX: 0x0000000000000000 RDX: 0x0000000000000001
RIP: 0x00007ffdedc88630 RBP: 0x0000006ddb6ed6f0 SegCs: 0x0000000000000033
EFlags: 0x0000000000010287 RSP: 0x0000006ddb6ed690 SegSs: 0x000000000000002b
R8: 0x0000000000044000 R9: 0x0000000000000002 R10: 0x0000000000000078
R11: 0x0000006ddb6ed650 R12: 0x0000000000000000 R13: 0x0000000000000001
R14: 0x00000000000039c3 R15: 0x00000214c8f540a0

Bytes at CS:EIP:
8b 01 41 2b c2 41 3b c1 72 46 48 83 c1 10 49 3b

I’ve attached both the error.log and the crash.dmp.
In the Kerbal Space Program forums I was told that this issue is a lower level Unity error and that I needed someone to help with reading out the crash dump and reconstructing the crashed thread.

This problem is driving me crazy and I would really like to know what exactly causes it and how it can be prevented.

5812540–615250–Kerbal_Space_Program_Access_Violation_error-log_crash-dump.zip (666 KB)

Here’s another crash in KSP. Same problem, just different location.

Kerbal Space Program by Squad [version: Unity 2019.2.2f1_ab112815d860]

UnityPlayer.dll caused an Access Violation (0xc0000005)
in module UnityPlayer.dll at 0033:bd7e85e6.
[...]
Read from location 000002A729F18067 caused an access violation.

Context:
RDI: 0x0000000000000000 RSI: 0x000002a99e908a90 RAX: 0x0000000000000000
RBX: 0x0000000000000001 RCX: 0x000002a729f18010 RDX: 0x0000000000000000
RIP: 0x00007ff8bd7e85e6 RBP: 0x000000c4766edd90 SegCs: 0x0000000000000033
EFlags: 0x0000000000010206 RSP: 0x000000c4766edd30 SegSs: 0x000000000000002b
R8: 0x00007ff8bcaf0000 R9: 0x00007ff8bcfd37e0 R10: 0x00000000000c0230
R11: 0x000000c4766edcf0 R12: 0x0000000000000001 R13: 0x0000000000000001
R14: 0x000000000000677d R15: 0x000002a63e9b8060

Bytes at CS:EIP:
0f b6 41 57 48 8b d9 3c ff 0f 85 96 00 00 00 80

5813356–615433–Kerbal_Space_Program_Access_Violation_error-log_crash-dump2.zip (618 KB)

I’m having this issue with my own project. It is a very consuming relative problem. I Searched for everything and I have no clue yet about what is causing this on those new versions. I use the 2019.4.4f1 now trying to update the editor version to see what changes.

Did anyone of you find a solution for this? I’m running into the same issue.