Invisible layer blocking Debug Draw Sphere

What could be the reason the sphere is getting clipped, i dont recall doing anything additional other than following the tutorial.

The sphere gets clipped only in the top left quadrant of an area

1 Like

So far you are the 4th person who has encountered this. I think it might be a bug in the engine though not everyone is affected. What version are you using?

Unreal version : 5.3.0-27405482+++UE5+Release-5.3

Does it still occur if you increase the depth priority?

DrawDebugSphere(
    GetWorld(),
    HitResult.ImpactPoint,
    25.f,
    12,
    FColor::Red,
    false,
    -1.f, 
    1 // depth priority
);

Without the above code it still works now!

It now works without changing anything. ( i progresses through the lessons and completed all, so not sure if any changes later fixed it or not)

Another reason could be now I’ve updated the editor version to 5.3.1.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms