You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Fixed crash when lazy object ptr for render component is invalid when landscape collision scene proxy is created
#rb enrique.garciaamezcu [FYI] nickolas.drake #rnx #ROBOMERGE-OWNER: jonathan.bard #ROBOMERGE-AUTHOR: jonathan.bard #ROBOMERGE-COMMAND: _robomerge[bot4] UE5-MAIN #ROBOMERGE-SOURCE: CL 21161099 via CL 21161582 via CL 21166421 #ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824) [CL 21167587 by jonathan bard in ue5-main branch]
This commit is contained in:
@@ -627,7 +627,7 @@ FPrimitiveSceneProxy* ULandscapeHeightfieldCollisionComponent::CreateSceneProxy(
|
||||
switch (static_cast<EHeightfieldSource>(CVarLandscapeShowCollisionMesh.GetValueOnAnyThread()))
|
||||
{
|
||||
case EHeightfieldSource::Simple:
|
||||
if (RenderComponent->SimpleCollisionMipLevel > RenderComponent->CollisionMipLevel)
|
||||
if (RenderComponent.IsValid() && (RenderComponent->SimpleCollisionMipLevel > RenderComponent->CollisionMipLevel))
|
||||
{
|
||||
if (HeightfieldRef->HeightfieldSimple.IsValid())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user