Workaround 1:
1. Change HierarchicalInstancedStaticMesh.cpp in either of the following ways:
void{{ FHierarchicalStaticMeshSceneProxy::GetDynamicMeshElements(const TArray<const FSceneView*>& Views, const FSceneViewFamily& ViewFamily, uint32 VisibilityMap, FMeshElementCollector& Collector) const}}
{{{}}
...
// Modification begin
// const FMatrix WorldToLocal = GetLocalToWorld().Inverse();
const FMatrix WorldToLocal = GetLocalToWorld().Inverse().GetMatrixWithoutScale();
// Modification End
...
}
Or:
void FHierarchicalStaticMeshSceneProxy::GetDynamicMeshElements(const TArray<const FSceneView*>& Views, const FSceneViewFamily& ViewFamily, uint32 VisibilityMap, FMeshElementCollector& Collector) const
{{{}}
...
FBoxSphereBounds ScaledBounds = RenderData->Bounds.TransformBy(FTransform(FRotator::ZeroRotator, FVector::ZeroVector, AverageScale));
// Added line begin
ScaledBounds = ScaledBounds.TransformBy(FTransform(FRotator::ZeroRotator, FVector::ZeroVector, GetLocalToWorld().Inverse().GetScaleVector()));
// Added Line end
float SphereRadius = ScaledBounds.SphereRadius + InstanceParams.MaxWPODisplacement;
...
{{}
}}2. Perform the test again. Observe the small boxes do not disappear.
3. Change the view mode to "Mesh LOD Coloration". Observe the small boxes and large boxes change LODs at the same distance, despite having different screen sizes.
Workaround 2:
1. Select the HISM Blueprint actor, then the HISM component.
2. Assign any material to the component (WorldGridMaterial works)
3. Perform the test again. Observe the boxes do not disappear.
4. Change the view mode to "Mesh LOD Coloration". Observe the small boxes and large box change LODs at different distances, correctly for their screen size
1. Download the Licensee repo and open (link in comments)
2. Move the camera closer to and further away from the boxes on the floor.
3. Observe the small boxes disappear at LOD transitions.
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Uploading a Model from Rhino to UE5 - Grey interface - why?
What property of the Slider is the image used when dragging?
What properties of the progress bar can be used for drag and drop highlighting?
Bullet replication problem. The players sees each other but does not see the bullet
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-201514 in the post.
1 |
Component | UE - Rendering Architecture |
---|---|
Affects Versions | 5.3 |
Target Fix | 5.6 |
Created | Nov 29, 2023 |
---|---|
Updated | Sep 5, 2024 |