- Start a client cooked with cached PSOs on UE 5.5 with Unreal Insights running in the background
- Client will crash on startup
Callstack:
FRHIBreadcrumbNode::EndCPU (RHIBreadcrumbs.h:594) FRHIBreadcrumbNode::WalkOut (RHIBreadcrumbs.h:626) FCompilePipelineStateTask::CompilePSO (PipelineStateCache.cpp:3092) FCompilePipelineStateTask::DoTask (PipelineStateCache.cpp:2896) TGraphTask<T>::ExecuteTask (TaskGraphInterfaces.h:634) UE::Trace::FChannel::operator| (Channel.inl:29) TaskTrace::FTaskTimingEventScope::{ctor} (TaskTrace.cpp:301) UE::Tasks::Private::FTaskBase::TryExecuteTask (TaskPrivate.h:502) UE::Tasks::Private::FTaskBase::Init::__l2::<T>::operator() (TaskPrivate.h:185) LowLevelTasks::FTask::Init::__l13::<T>::operator() (Task.h:499) LowLevelTasks::TTaskDelegate<T>::TTaskDelegateImpl<T>::Call (TaskDelegate.h:162) LowLevelTasks::TTaskDelegate<T>::TTaskDelegateImpl<T>::CallAndMove (TaskDelegate.h:171) LowLevelTasks::TTaskDelegate<T>::CallAndMove (TaskDelegate.h:308) LowLevelTasks::FTask::ExecuteTask (Task.h:627) FCpuProfilerTrace::FDynamicEventScope::{ctor} (CpuProfilerTrace.h:251) LowLevelTasks::FScheduler::ExecuteTask (Scheduler.cpp:276) LowLevelTasks::FScheduler::TryExecuteTaskFrom (Scheduler.cpp:469) LowLevelTasks::FScheduler::WorkerLoop (Scheduler.cpp:526) LowLevelTasks::FScheduler::WorkerMain (Scheduler.cpp:583)
Hello,
Thank you for reaching out.
I’ve been assigned this issue, and we will be looking into the crash for you.
Hello,
Thank you for reporting this.
This crash looks like an issue that has been fixed as part of Unreal Engine 5.6.
You can find the public tracker with the fix CL and GitHub link here:
Please let us know if this helps.
Hello.
Looks like the fix didn’t help:
[Image Removed]Exception thrown at 0x00007FF73A653540 in -Win64-Test.exe: 0xC0000005: Access violation reading location 0x000000000001003A.
> -Win64-Test.exe!FCompilePipelineStateTask::CompilePSO(const FGraphicsPipelineStateInitializer::EPSOPrecacheCompileType * OptionalPriorityOverride) Line 3235 C++ Win64-Test.exe!InternalCreateGraphicsPipelineState::__l11::<lambda>(const FPSOPrecacheAsyncTask * ThisTask) Line 3895 C++ [Inline Frame] -Win64-Test.exe!UE::Core::Private::Function::TFunctionRefBase<UE::Core::Private::Function::TFunctionStorage<1>,void __cdecl(FPSOPrecacheAsyncTask const *)>::operator()(const FPSOPrecacheAsyncTask * <Params_0>) Line 471 C++ -Win64-Test.exe!FPSOPrecacheAsyncTask::DoTaskWork() Line 643 C++ -Win64-Test.exe!FAsyncTaskBase::DoWork() Line 290 C++ -Win64-Test.exe!FAsyncTaskBase::DoThreadedWork() Line 313 C++ -Win64-Test.exe!FQueuedThread::Run() Line 1459 C++ -Win64-Test.exe!FRunnableThreadWin::Run() Line 159 C++ -Win64-Test.exe!FRunnableThreadWin::GuardedRun() Line 79 C++
UE version 5.6, we use the follow commandline: -NoVerifyGC -trace=cpu,frames,log,bookmarks -statnamedevents -notraceserver -execcmds=“trace.file”
Hello,
We were not able to reproduce this crash on 5.6. Can you please share a test project that demonstrates the crash, including the .spc file used in the build?
The guide for test projects:
[Content removed]