2 cameras trick not working in 3.4

The old trick we used to create fps cameras is not working properly in unity 3.4 after a while it stops rendering the skybox and making a mess with the second camera.:face_with_spiral_eyes:

The fps camera trick consist in having 2 cameras with different depths in the scene one is rendering the background and the other a weapon on top of it. That way the weapon is always rendered on top of the scene. Even if some object is colliding with it.

So… is there anyone else having this issue?

might be the camera ranges. the near and far was changed a lot in resolution for 3.4. So change the values to be as tight as possible. experiment.

Hippocoder:

Thanks! that was what was causing the problem. You have to be very careful on frustum and depth values in 3.4 . I had to clone the main camera to get exactly the same values on both, but the result is worth it.