Enabling Collision on a Spline Mesh component with a Static Mesh assigned causes an assertion to fail while executing in a package. This does NOT occur if you play in editor.
Repro Rate: 4/4
Tested this in //UE4/Release-4.27 @ CL#18319896 and this issue did not occur there, it is a regression. (Tested utilizing SM_Chair Static Mesh, the crash still occurred in 5.0 with this mesh!)
Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691] Array index out of bounds: 0 from an array of size 0
Results: Project crashes, hitting an assertion failed error.
Expected: Project successfully enables the collision on the Spline Mesh component without the project crashing.
=== Critical error: === Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 691] Array index out of bounds: 0 from an array of size 0 [Callstack] 0x00007ff7afd28a58 UnrealGame.exe!Chaos::FTriangleMeshImplicitObject::FTriangleMeshImplicitObject<unsigned short>() [] [Callstack] 0x00007ff7afd2b298 UnrealGame.exe!TPairInitializer<UPrimitiveComponent * __ptr64 const & __ptr64,TArray<IPhysicsProxyBase * __ptr64,TSizedDefaultAllocator<32> > const & __ptr64>::operator<UPrimitiveComponent * __ptr64,TArray<IPhysicsProxyBase * __ptr64,TSizedDefaultAllocator<32> > > TTuple<UPrimitiveComponent * __ptr64,TArray<IPhysicsProxyBase * __ptr64,TSizedDefaultAllocator<32> > >() [] [Callstack] 0x00007ff7afd3dd01 UnrealGame.exe!Chaos::Cooking::BuildTriangleMeshes() [] [Callstack] 0x00007ff7afd41ee7 UnrealGame.exe!Chaos::FCookHelper::Cook() [] [Callstack] 0x00007ff7afd4572e UnrealGame.exe!UBodySetup::CreatePhysicsMeshes() [] [Callstack] 0x00007ff7ab0961f4 UnrealGame.exe!UObject::ConditionalPostLoad() [] [Callstack] 0x00007ff7ab1de9fd UnrealGame.exe!StaticDuplicateObjectEx() [] [Callstack] 0x00007ff7ab1dd839 UnrealGame.exe!StaticDuplicateObject() [] [Callstack] 0x00007ff7af68a746 UnrealGame.exe!USplineMeshComponent::RecreateCollision() [] [Callstack] 0x00007ff7af689399 UnrealGame.exe!USplineMeshComponent::OnCreatePhysicsState() [] [Callstack] 0x00007ff7af56ead0 UnrealGame.exe!UActorComponent::CreatePhysicsState() [] [Callstack] 0x00007ff7af5d8a1f UnrealGame.exe!UPrimitiveComponent::EnsurePhysicsStateCreated() [] [Callstack] 0x00007ff7afe5cbcd UnrealGame.exe!UPrimitiveComponent::SetCollisionEnabled() [] [Callstack] 0x00007ff7b069a3d4 UnrealGame.exe!UPrimitiveComponent::execSetCollisionEnabled() [] [Callstack] 0x00007ff7aaf6e579 UnrealGame.exe!UFunction::Invoke() [] [Callstack] 0x00007ff7ab14fb82 UnrealGame.exe!UObject::CallFunction() [] [Callstack] 0x00007ff7ab160c0f UnrealGame.exe!UObject::ProcessContextOpcode() [] [Callstack] 0x00007ff7ab163de1 UnrealGame.exe!ProcessLocalScriptFunction() [] [Callstack] 0x00007ff7ab162fe1 UnrealGame.exe!UObject::ProcessInternal() [] [Callstack] 0x00007ff7aaf6e579 UnrealGame.exe!UFunction::Invoke() [] [Callstack] 0x00007ff7ab1624f2 UnrealGame.exe!UObject::ProcessEvent() [] [Callstack] 0x00007ff7af238886 UnrealGame.exe!AActor::ProcessEvent() [] [Callstack] 0x00007ff7af9e41e6 UnrealGame.exe!FLatentActionManager::TickLatentActionForObject() [] [Callstack] 0x00007ff7af9d19ff UnrealGame.exe!FLatentActionManager::ProcessLatentActions() [] [Callstack] 0x00007ff7afa192d4 UnrealGame.exe!UWorld::Tick() [] [Callstack] 0x00007ff7af84667c UnrealGame.exe!UGameEngine::Tick() [] [Callstack] 0x00007ff7a93b9227 UnrealGame.exe!FEngineLoop::Tick() [] [Callstack] 0x00007ff7a93d0b7c UnrealGame.exe!GuardedMain() [] [Callstack] 0x00007ff7a93d0c4a UnrealGame.exe!GuardedMainWrapper() [] [Callstack] 0x00007ff7a93d3ccc UnrealGame.exe!LaunchWindowsStartup() [] [Callstack] 0x00007ff7a93e5474 UnrealGame.exe!WinMain() [] [Callstack] 0x00007ff7b144766a UnrealGame.exe!__scrt_common_main_seh() [] [Callstack] 0x00007ffc536d7bd4 KERNEL32.DLL!UnknownFunction [] [Callstack] 0x00007ffc5504ced1 ntdll.dll!UnknownFunction []
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Teleporter in the Creative Hub is Locked and cannot be accessed
How to achieve HLSL Multiple Render Target in Material blueprints?
I'm working on a VR Project and I cannot add Nav Mesh to the stairs??
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Why is it wrong to adjust the camera's rotate to the spatial orientation of the mouse?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-151106 in the post.
27 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 5.0 |
Target Fix | 5.1 |
Created | May 4, 2022 |
---|---|
Resolved | Oct 25, 2022 |
Updated | Nov 27, 2022 |