Unshelved from pending changelist '23216677':

Fixed crash due to bCachedRaytracingDataDirty not being initialized.
- the flag used to only affect a code path used by nanite coarse meshes in which it didn't cause a crash.
- however now it's used more generally resulting in a crash.
Note: Swarm is down, committing on behalf of Tiago Costa

#author Tiago.Costa
#rb Elizabeth.Bunner

[CL 23217237 by elizabeth bunner in ue5-main branch]
This commit is contained in:
elizabeth bunner
2022-11-20 13:20:21 -05:00
parent 67348127e5
commit fe6d6ddc40

View File

@@ -180,6 +180,7 @@ FPrimitiveSceneInfo::FPrimitiveSceneInfo(UPrimitiveComponent* InComponent,FScene
bIsRayTracingRelevant(InComponent->SceneProxy->IsRayTracingRelevant()),
bIsRayTracingStaticRelevant(InComponent->SceneProxy->IsRayTracingStaticRelevant()),
bIsVisibleInRayTracing(InComponent->SceneProxy->IsVisibleInRayTracing()),
bCachedRaytracingDataDirty(false),
CoarseMeshStreamingHandle(INDEX_NONE),
#endif
PackedIndex(INDEX_NONE),