SetPass calls are doubled! How to turn off gun's camera?

TrungDong

Member
When using Unity's standard FPS character controller, my scene's SetPass calls are 80 ~ 140.
When using UCC, my scene's SetPass calls are 200 ~ 300. It's made my game's performance go down very very bad.
It seems the cause is the gun's camera.
How to use only one camera like old UFPS?
(Gun's camera is off by default. When zooming, gun's camera will be turned on while main Camera will be turned off)
 
There isn't an option to disable the main camera when the scope camera is active but I like the idea. Right now I am just doing fixes and not new features to ensure everything is working properly but I've written it down for when I do start adding new features.
 
Top