Description

Crash occurs when the user assigns a static to the Instanced Static Mesh Component in a LightWeightInstanceStaticMeshManager.

I couldn't reproduce this with an actor blueprint with an ISMC or HISMC.

Steps to Reproduce
  1. Open QAGame in editor.
  2. Create and open a blueprint based on LightWeightInstanceStaticMeshManager.
  3. In the blueprint, select InstancedStaticMeshComponent
  4. In the Details assign any static mesh to the Static Mesh setting.

RESULT

Crash

Callstack
Assertion failed: InstancingRandomSeed != 0 [File:D:/UE5_Main/Engine/Source/Runtime/Engine/Private/HierarchicalInstancedStaticMesh.cpp] [Line: 3155] 

UnrealEditor-Engine.dll!UHierarchicalInstancedStaticMeshComponent::CreateSceneProxy() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\HierarchicalInstancedStaticMesh.cpp:3155]
UnrealEditor-Renderer.dll!FScene::AddPrimitive() [D:\UE5_Main\Engine\Source\Runtime\Renderer\Private\RendererScene.cpp:1194]
UnrealEditor-Engine.dll!UPrimitiveComponent::CreateRenderState_Concurrent() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\Components\PrimitiveComponent.cpp:559]
UnrealEditor-Engine.dll!UStaticMeshComponent::CreateRenderState_Concurrent() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\Components\StaticMeshComponent.cpp:706]
UnrealEditor-Engine.dll!UActorComponent::RecreateRenderState_Concurrent() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\Components\ActorComponent.cpp:1633]
UnrealEditor-Engine.dll!FStaticMeshCompilingManager::PostCompilation() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\StaticMeshCompiler.cpp:303]
UnrealEditor-Engine.dll!<lambda_ec7ced9ff7aa882a815ec6792131bc1a>::operator()() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\StaticMeshCompiler.cpp:406]
UnrealEditor-Engine.dll!AsyncCompilationHelpers::FinishCompilation() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\AsyncCompilationHelpers.cpp:180]
UnrealEditor-Engine.dll!FStaticMeshCompilingManager::FinishCompilation() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\StaticMeshCompiler.cpp:397]
UnrealEditor-Engine.dll!UStaticMesh::WaitUntilAsyncPropertyReleased() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\StaticMesh.cpp:2870]
UnrealEditor-Engine.dll!UStaticMesh::GetBodySetup() [D:\UE5_Main\Engine\Source\Runtime\Engine\Classes\Engine\StaticMesh.h:896]
UnrealEditor-Engine.dll!UStaticMeshComponent::SupportsDefaultCollision() [D:\UE5_Main\Engine\Source\Runtime\Engine\Private\Components\StaticMeshComponent.cpp:1762]
UnrealEditor-DetailCustomizations.dll!FBodyInstanceCustomization::GetDefaultCollisionProvider() [D:\UE5_Main\Engine\Source\Editor\DetailCustomizations\Private\BodyInstanceCustomization.cpp:52]
UnrealEditor-DetailCustomizations.dll!FBodyInstanceCustomization::CanUseDefaultCollision() [D:\UE5_Main\Engine\Source\Editor\DetailCustomizations\Private\BodyInstanceCustomization.cpp:60]
UnrealEditor-DetailCustomizations.dll!FBodyInstanceCustomization::RefreshCollisionProfiles() [D:\UE5_Main\Engine\Source\Editor\DetailCustomizations\Private\BodyInstanceCustomization.cpp:70]
UnrealEditor-DetailCustomizations.dll!TBaseSPMethodDelegateInstance<0,FBodyInstanceCustomization,1,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\UE5_Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor-PropertyEditor.dll!TMulticastDelegate<void __cdecl(void),FDefaultDelegateUserPolicy>::Broadcast() [D:\UE5_Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateSignatureImpl.inl:971]
UnrealEditor-PropertyEditor.dll!FPropertyNode::BroadcastPropertyChangedDelegates() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.cpp:2638]
UnrealEditor-PropertyEditor.dll!FPropertyNode::NotifyPostChange() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyNode.cpp:2587]
UnrealEditor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:458]
UnrealEditor-PropertyEditor.dll!FPropertyValueImpl::ImportText() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:226]
UnrealEditor-PropertyEditor.dll!FPropertyValueImpl::SetValueAsString() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:731]
UnrealEditor-PropertyEditor.dll!FPropertyHandleObject::SetValueFromFormattedString() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:3978]
UnrealEditor-PropertyEditor.dll!FPropertyHandleObject::SetValue() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\PropertyHandleImpl.cpp:3806]
UnrealEditor-PropertyEditor.dll!SPropertyEditorAsset::SetValue() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyEditorAsset.cpp:957]
UnrealEditor-PropertyEditor.dll!TBaseSPMethodDelegateInstance<0,SPropertyEditorAsset,1,void __cdecl(FAssetData const &),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\UE5_Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor-PropertyEditor.dll!SPropertyMenuAssetPicker::OnAssetSelected() [D:\UE5_Main\Engine\Source\Editor\PropertyEditor\Private\UserInterface\PropertyEditor\SPropertyMenuAssetPicker.cpp:279]
UnrealEditor-PropertyEditor.dll!TBaseSPMethodDelegateInstance<0,SPropertyMenuAssetPicker,1,void __cdecl(FAssetData const &),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\UE5_Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor-ContentBrowser.dll!SAssetPicker::HandleItemSelectionChanged() [D:\UE5_Main\Engine\Source\Editor\ContentBrowser\Private\SAssetPicker.cpp:545]
UnrealEditor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetPicker,1,void __cdecl(FContentBrowserItem const &,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\UE5_Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor-ContentBrowser.dll!SAssetView::AssetSelectionChanged() [D:\UE5_Main\Engine\Source\Editor\ContentBrowser\Private\SAssetView.cpp:3477]
UnrealEditor-ContentBrowser.dll!TBaseSPMethodDelegateInstance<0,SAssetView,1,void __cdecl(TSharedPtr<FAssetViewItem,1>,enum ESelectInfo::Type),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [D:\UE5_Main\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:307]
UnrealEditor-ContentBrowser.dll!SListView<TSharedPtr<FAssetViewItem,1> >::Private_SignalSelectionChanged() [D:\UE5_Main\Engine\Source\Runtime\Slate\Public\Widgets\Views\SListView.h:953]
UnrealEditor-ContentBrowser.dll!STableRow<TSharedPtr<FAssetViewItem,1> >::OnMouseButtonUp() [D:\UE5_Main\Engine\Source\Runtime\Slate\Public\Widgets\Views\STableRow.h:620]
UnrealEditor-Slate.dll!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_df8cb182a345f476e099733ec2265ad6> >() [D:\UE5_Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:381]
UnrealEditor-Slate.dll!FSlateApplication::RoutePointerUpEvent() [D:\UE5_Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:4839]
UnrealEditor-Slate.dll!FSlateApplication::ProcessMouseButtonUpEvent() [D:\UE5_Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5381]
UnrealEditor-Slate.dll!FSlateApplication::OnMouseUp() [D:\UE5_Main\Engine\Source\Runtime\Slate\Private\Framework\Application\SlateApplication.cpp:5346]
UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessDeferredMessage() [D:\UE5_Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2206]
UnrealEditor-ApplicationCore.dll!FWindowsApplication::DeferMessage() [D:\UE5_Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:2695]
UnrealEditor-ApplicationCore.dll!FWindowsApplication::ProcessMessage() [D:\UE5_Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:1076]
UnrealEditor-ApplicationCore.dll!FWindowsApplication::AppWndProc() [D:\UE5_Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp:914]
USER32.dll!UnknownFunction []
USER32.dll!UnknownFunction []
UnrealEditor-ApplicationCore.dll!FWindowsPlatformApplicationMisc::PumpMessages() [D:\UE5_Main\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsPlatformApplicationMisc.cpp:134]
UnrealEditor.exe!FEngineLoop::Tick() [D:\UE5_Main\Engine\Source\Runtime\Launch\Private\LaunchEngineLoop.cpp:5048]
UnrealEditor.exe!GuardedMain() [D:\UE5_Main\Engine\Source\Runtime\Launch\Private\Launch.cpp:183]
UnrealEditor.exe!GuardedMainWrapper() [D:\UE5_Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:147]
UnrealEditor.exe!LaunchWindowsStartup() [D:\UE5_Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:283]
UnrealEditor.exe!WinMain() [D:\UE5_Main\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp:330]
UnrealEditor.exe!__scrt_common_main_seh() [D:\a01\_work\26\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
KERNEL32.DLL!UnknownFunction []
ntdll.dll!UnknownFunction []

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions5.0
Target Fix5.2
Fix Commit24853961
Main Commit24855148
Release Commit24853961
CreatedMay 21, 2021
ResolvedMar 31, 2023
UpdatedJun 5, 2023