Search Unity

Camera not rendering opaque objects in build Unity 2020.1.4f1

Discussion in 'General Graphics' started by VCUMCL, Sep 10, 2020.

  1. VCUMCL

    VCUMCL

    Joined:
    Jun 5, 2017
    Posts:
    24
    Hey guys,

    I have been running into quite a problem where my spectator camera is not rendering opaque (standard shader) objects in a build. In the editor the camera renders just fine, but once I build the project it no longer renders opaque objects. Transparent objects render normally, but opaque do not. It leaves me incredibly confused.

    I am using Unity 2020.1.4f1 with SteamVR (Multipass Rendering) and the Standard Render Pipeline. The VR camera renders just fine in the build, it is only my secondary spectator cameras that are bugging out.

    Here's what the camera looks like in the editor:


    And here's what the same camera looks like in the build:


    I am just baffled as to what is going on. Here is the spectator camera component in the inspector, it is just a basic setup:


    If anyone could help me figure out what the hell is going on, I would greatly appreciate it!
     
    Last edited: Sep 11, 2020
  2. VCUMCL

    VCUMCL

    Joined:
    Jun 5, 2017
    Posts:
    24
    I also updated to Unity 2020.1.5f1, and the problem still persists there as well. May try the 2020.2 beta to see what results I get.