Unhandled AccessViolationException during startup (RenderCore.VkUtils.StageAndUploadToBuffer?)

Dantei

New Member
Nov 15, 2025
7
1
It only happened once so far.

I chose some settings in the initial dialog and clicked on a System.
KSA began to load, but finally crashed, apparently before entering the actual game.
I think I used lowest settings for that attempt and Earth-only (but I was playing around with the settings, so I'm not sure).
Otherwise KSA ran mostly fine, up to max settings.

Windows Event Log:​

Code:
Application: KSA.exe
CoreCLR Version: 9.0.1125.51716
.NET Version: 9.0.11
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stack:
   at System.Runtime.EH.DispatchEx(System.Runtime.StackFrameIterator ByRef, ExInfo ByRef)
   at System.Runtime.EH.RhThrowHwEx(UInt32, ExInfo ByRef)
   at System.SpanHelpers.Memmove(Byte ByRef, Byte ByRef, UIntPtr)
   at System.Span`1[[System.Byte, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].CopyTo(System.Span`1<Byte>)
   at RenderCore.VkUtils.StageAndUploadToBuffer(Brutal.VulkanApi.Abstractions.StagingPool, Brutal.VulkanApi.VkBuffer, Int32, System.Span`1<Byte>, Brutal.VulkanApi.CommandBuffer)
   at RenderCore.VkUtils.StageAndUploadToBuffer[[Brutal.Numerics.float4, Brutal.Core.Numerics, Version=0.3.1.1, Culture=neutral, PublicKeyToken=null]](Brutal.VulkanApi.Abstractions.StagingPool, Brutal.VulkanApi.VkBuffer, Int32, System.Span`1<Brutal.Numerics.float4>, Brutal.VulkanApi.CommandBuffer)
   at RenderCore.Mesh.SimpleVkMesh.BuildBuffer[[Brutal.Numerics.float4, Brutal.Core.Numerics, Version=0.3.1.1, Culture=neutral, PublicKeyToken=null]](Brutal.VulkanApi.Abstractions.StagingPool, Brutal.VulkanApi.CommandBuffer, RenderCore.MeshAttribute, Brutal.VulkanApi.VkBufferUsageFlags, System.Span`1<Brutal.Numerics.float4>)
   at RenderCore.Mesh.SimpleVkMesh.SetVertices[[Brutal.Numerics.float4, Brutal.Core.Numerics, Version=0.3.1.1, Culture=neutral, PublicKeyToken=null]](Brutal.VulkanApi.Abstractions.StagingPool, RenderCore.MeshAttribute, System.Span`1<Brutal.Numerics.float4>, Brutal.VulkanApi.CommandBuffer, Brutal.VulkanApi.VkBufferUsageFlags)
   at KSA.CubeMesh.Generate(Core.Renderer, Boolean)
   at KSA.PlanetMeshCollection+<>c__DisplayClass23_0.<Generate>b__0(Int32, System.Threading.CancellationToken)
   at System.Threading.Tasks.Parallel+<>c__49`1+<<ForAsync>b__49_0>d[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.Threading.Tasks.Parallel+<>c__49`1+<<ForAsync>b__49_0>d[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Threading.Tasks.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<<ForAsync>b__49_0>d<Int32> ByRef)
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.Threading.Tasks.Parallel+<>c__49`1+<<ForAsync>b__49_0>d[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Threading.Tasks.Parallel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]](<<ForAsync>b__49_0>d<Int32> ByRef)
   at System.Threading.Tasks.Parallel+<>c__49`1[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<ForAsync>b__49_0(System.Object)
   at System.Threading.Tasks.Parallel+ForEachAsyncState`1+<>c[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].<System.Threading.IThreadPoolWorkItem.Execute>b__18_0(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.Tasks.Parallel+ForEachAsyncState`1[[System.Int32, System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].System.Threading.IThreadPoolWorkItem.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading.PortableThreadPool+WorkerThread.WorkerThreadStart()

KSA:​

v2025.11.4.2791
No mods.

System:​

Ryzen7 5800X - 64 GB RAM
RTX 3090 - 32 GB RAM
Windows 10
 
Upvote 1