Sniper rifle first person gameobject remains visible while zooming

I'm using the Opsive UCC with the Unity Universal Render Pipeline and when I zoom in the scope in the demo scene or in my scenes the sniper rifle remains visible causing the scope to block the players view while zooming with the sniper rifle. How do I fix this?

Thanks.
 
Also, the scope material apparently has a lit shader because you can only see through it when in a brightly lit area even when it's pointed towards a brightly lit area.
 
You could swap out the materials so the sniper is invisible but in the demo scene the camera is in front of the scope object so it doesn't block the view.

Also, the scope material apparently has a lit shader because you can only see through it when in a brightly lit area even when it's pointed towards a brightly lit area.
The shader is in the demo folder which only works with built in. The shader was built with Amplify so you can convert it if you want to use it in your project.
 
Top