I’m experiencing an issue with Chaos vehicles since version 5.5. I didn’t encounter this crash before when packaging my game. My vehicles seem to work fine in-game, but this crash occurs randomly after the game has been running for a few minutes (only in the packaged version).
Here’s the crash log:
[2024.12.03-00.44.25:958][ 36]LogWindows: Error: === Critical error: ===
[2024.12.03-00.44.25:958][ 36]LogWindows: Error:
[2024.12.03-00.44.25:958][ 36]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2024.12.03-00.44.25:959][ 36]LogWindows: Error:
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724c88bf Game.exe!UChaosWheeledVehicleSimulation::ApplySuspensionForces() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724de620 Game.exe!UChaosWheeledVehicleSimulation::UpdateSimulation() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724bee6b Game.exe!UChaosVehicleSimulation::TickVehicle() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724dd706 Game.exe!UChaosWheeledVehicleSimulation::TickVehicle() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724bec48 Game.exe!FChaosVehicleAsyncInput::Simulate() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724a54b1 Game.exe!TWeakObjectPtr<UChaosVehicleMovementComponent,FWeakObjectPtr>::operator==() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c48acbd Game.exe!`Chaos::Softs::FGaussSeidelMainConstraint<float,Chaos::Softs::FSolverParticles>::ApplyCG'::`2'::<lambda_1>::operator()() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669ed8462 Game.exe!`ParallelForImpl::ParallelForInternal<TFunctionRef<void __cdecl(int)>,`ParallelFor'::`2'::<lambda_1>,std::nullptr_t>'::`2'::FParallelExecutor::operator()() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669eb32b0 Game.exe!ParallelForImpl::ParallelForInternal<TFunctionRef<void __cdecl(int)>,`ParallelFor'::`2'::<lambda_1>,std::nullptr_t>() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c4b2440 Game.exe!Chaos::PhysicsParallelFor() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff6724b7912 Game.exe!FChaosVehicleManagerAsyncCallback::OnPreSimulate_Internal() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c49ce27 Game.exe!Chaos::FPhysicsSolverBase::ApplyCallbacks_Internal() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c9abb2e Game.exe!Chaos::FPBDRigidsSolver::ApplyCallbacks_Internal() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c9b95c1 Game.exe!Chaos::AdvanceOneTimeStepTask::DoWork() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c9a8992 Game.exe!Chaos::FPBDRigidsSolver::AdvanceSolverBy() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c49c286 Game.exe!Chaos::FPhysicsSolverAdvanceTask::AdvanceSolver() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66c4a4df1 Game.exe!TGraphTask<Chaos::FPhysicsSolverAdvanceTask>::ExecuteTask() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669e740a3 Game.exe!UE::Tasks::Private::FTaskBase::TryExecuteTask() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669e470bf Game.exe!LowLevelTasks::TTaskDelegate<LowLevelTasks::FTask * __ptr64 __cdecl(bool),48>::TTaskDelegateImpl<`LowLevelTasks::FTask::Init<`UE::Tasks::Private::FTaskBase::Init'::`2'::<lambda_1> >'::`13'::<lambda_1>,0>::CallAndMove() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669e521ae Game.exe!LowLevelTasks::FTask::ExecuteTask() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669e51f2b Game.exe!LowLevelTasks::FScheduler::ExecuteTask() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669e7765d Game.exe!LowLevelTasks::FScheduler::WorkerLoop() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff669e3fbc1 Game.exe!`FScopeCycleCounter::~FScopeCycleCounter'::`2'::<lambda_1>::operator()() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66a03b933 Game.exe!FThreadImpl::Run() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66a452c98 Game.exe!FRunnableThreadWin::Run() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ff66a44a2ff Game.exe!FRunnableThreadWin::GuardedRun() []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: [Callstack] 0x00007ffc03ab259d KERNEL32.DLL!UnknownFunction []
[2024.12.03-00.44.25:959][ 36]LogWindows: Error:
[2024.12.03-00.44.25:959][ 36]LogWindows: Error: Crash in runnable thread Foreground Worker #1
Does anyone know what might be causing this and how I could try to resolve it? Thank you.