Description

SkeletalMeshSimulationComponent does not effect the simulation of geometry collections to interact with skeletal meshes and setting the component to dynamic results in a crash.

Steps to Reproduce

In a Chaos project, place a skeletal mesh component and add a SkeletalMeshSimulationComponent.

Set the SkeletalMeshSimulationComponent to dynamic.

Play.

 

Result: Crashes on Play.

Callstack

> [Inline Frame] UE4Editor-Chaos.dll!TMapBase<int,int,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<int,int,0> >::FindChecked(const int) Line 508 C++
[Inline Frame] UE4Editor-Chaos.dll!TMap<int,int,FDefaultSetAllocator,TDefaultMapHashableKeyFuncs<int,int,0> >::operator[](const int) Line 1079 C++
UE4Editor-Chaos.dll!Chaos::TPBDConstraintGraph<float,3>::AddConstraint(const unsigned int InContainerId, const int InConstraintIndex, const Chaos::TVector<int,2> & InConstrainedParticles) Line 94 C++
UE4Editor-Chaos.dll!Chaos::TPBDConstraintGraphRuleImpl<Chaos::TPBDJointConstraints<float,3>,float,3>::AddToGraph() Line 100 C++
UE4Editor-Chaos.dll!Chaos::TPBDRigidsEvolutionBase<Chaos::TPBDRigidsEvolutionGBF<float,3>,Chaos::TPBDCollisionConstraint<float,3>,float,3>::CreateConstraintGraph() Line 291 C++
UE4Editor-Chaos.dll!Chaos::TPBDRigidsEvolutionGBF<float,3>::AdvanceOneTimeStep(const float Dt) Line 183 C++
UE4Editor-ChaosSolvers.dll!Chaos::AdvanceOneTimeStepTask::DoWork() Line 88 C++
UE4Editor-ChaosSolvers.dll!Chaos::FPBDRigidsSolver::AdvanceSolverBy(float DeltaTime) Line 428 C++
UE4Editor-ChaosSolvers.dll!Chaos::FPersistentPhysicsTask::AdvanceSolver(Chaos::FPBDRigidsSolver * InSolver, float InDt) Line 411 C++
UE4Editor-ChaosSolvers.dll!Chaos::FPersistentPhysicsTask::StepSolver(Chaos::FPBDRigidsSolver * InSolver, float Dt) Line 212 C++
[Inline Frame] UE4Editor-ChaosSolvers.dll!UE4Function_Private::TFunctionRefBase<UE4Function_Private::TFunctionStorage<0>,void __cdecl(void)>::operator()() Line 614 C++
UE4Editor-ChaosSolvers.dll!Chaos::FDebugSolverTasks::DebugStep(Chaos::FPBDRigidsSolver * Solver, TFunction<void __cdecl(void)> StepFunction) Line 80 C++
UE4Editor-ChaosSolvers.dll!Chaos::FPersistentPhysicsTask::DoWork::__l17::<lambda>(int Index) Line 129 C++
[Inline Frame] UE4Editor-Chaos.dll!UE4Function_Private::TFunctionRefBase<UE4Function_Private::FFunctionRefStoragePolicy,void __cdecl(int)>::operator()(int <Params_0>) Line 614 C++
UE4Editor-Chaos.dll!ParallelFor(int Num, TFunctionRef<void __cdecl(int)> Body, bool bForceSingleThread) Line 174 C++
UE4Editor-Chaos.dll!Chaos::PhysicsParallelFor(int InNum, TFunctionRef<void __cdecl(int)> InCallable, bool bForceSingleThreaded) Line 13 C++
UE4Editor-ChaosSolvers.dll!Chaos::FPersistentPhysicsTask::DoWork() Line 122 C++
UE4Editor-ChaosSolvers.dll!FAsyncTask<Chaos::FPersistentPhysicsTask>::DoWork() Line 272 C++
UE4Editor-ChaosSolvers.dll!FAsyncTask<Chaos::FPersistentPhysicsTask>::DoThreadedWork() Line 296 C++
UE4Editor-Core.dll!FQueuedThread::Run() Line 510 C++
UE4Editor-Core.dll!FRunnableThreadWin::Run() Line 96 C++
UE4Editor-Core.dll!FRunnableThreadWin::GuardedRun() Line 45 C++
kernel32.dll!00007ff8e63037e4() Unknown
ntdll.dll!00007ff8e64ecb81() Unknown

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-82588 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.23
Target Fix4.26
CreatedOct 28, 2019
ResolvedOct 12, 2020
UpdatedOct 20, 2020
View Jira Issue