CustomNearClippingPlane of UCineCameraComponent is new property in 5.1, but if use change this, it will also be reflected in the normal CameraComponent's NearClip.

This is because the PerspectiveNearClipPlane of DesiredView changed in UCineCameraComponent is not reset.

void UCineCameraComponent::GetCameraView(float DeltaTime, FMinimalViewInfo& DesiredView)
   Super::GetCameraView(DeltaTime, DesiredView);   
   UpdateCameraLens(DeltaTime, DesiredView);      
   DesiredView.PerspectiveNearClipPlane = bOverride_CustomNearClippingPlane ? CustomNearClippingPlane : -1.0f;   
   bResetInterpolation = false;

So adding DesiredView.PerspectiveNearClipPlane = -1.0f; in UCameraComponent::GetCameraView() etc. can solve this issue.

Steps to Reproduce
  1. Open attached project
  2. PIE
  3. you can see sky and floor
  4. Press 1 Key

expect : see white plane
result : see 3

Have Comments or More Details?

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

Login to Vote

ComponentUE - Anim - Sequencer
Affects Versions5.1
Target Fix5.3
Fix Commit24511725
Main Commit24511725
CreatedFeb 17, 2023
ResolvedMar 4, 2023
UpdatedApr 29, 2023