Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Very odd Unity error message that apparently can be ignored?

Discussion in 'Getting Started' started by Sparticus, Oct 27, 2020.

  1. Sparticus

    Sparticus

    Joined:
    Mar 15, 2014
    Posts:
    149
    Hey all,

    I've been working on my Unity 3D game for a month now, and starting yesterday I am getting a very weird error that I cannot explain. If I right click in my Hierarchy and create any new game object (ie. a cube), Unity throws the following error in my console immediately :

    upload_2020-10-27_12-5-53.png

    Double clicking the error brings me into code that came with Unity (I assume as I didn't write it) :


    Code (CSharp):
    1. public ScriptableRenderer scriptableRenderer
    2.         {
    3.             get => UniversalRenderPipeline.asset.GetRenderer(m_RendererIndex);
    4.         }
    The weird thing is, I can ignore this error and running the game everything appears to work. I'm guessing I accidently removed a component or something that (in this case) the camera would like to have.

    Any ideas?