Camera Near Clip Plane in VR that is smaller than 1 doesn't work

xx_pooya_xx
Thu, 19 Feb 2026 23:18:03 +0000
Programming & Scripting

Hello all! I am building a project in VR where you get to scale yourself on a scale of 1:1000. I have set up everything and things are working fine. However, upon scaling the player down using “Set World To Meters” and doing other physics work, I have a problem in regards to camera near clip plane.

I am encountering an issue where no matter if I open up the console manually and type “r.SetNearClipPlane 0.001” it does not work out at all. Anything smaller than the value of 1 would not work. Tried looking everywhere but haven’t found an answer yet. Other values would work but it doesn’t work below 1.

I also tried in Project Settings, setting the global near clip plane to 0.001 but still nothing.

There is another command “VREd.DefaultVRNearClipPlane” but that wouldn’t do anything either.

I want this to be in runtime. Because the player can change scale using a machine that you interact with that scales you down. (I don’t care if it is snappy I can hide it with a fade to black or smth. I just want it like how in editor we have that.

I want to be able to achieve the r.SetNearClipPlane 0.001 somehow. This is for my VR school project and the proffessor is asking everyone to do this 1:1000 scale.

Thanks.

3 posts - 2 participants