Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Bug "game object can only be in one layer" message in HDRP 8.2

Discussion in '2020.1 Beta' started by valarnur, Sep 15, 2020.

  1. valarnur

    valarnur

    Joined:
    Apr 7, 2019
    Posts:
    440
    In HDRP 8.2 (Unity 20.1.5) when opening new script or compiling the script, Unity always gives this message:

    Code (CSharp):
    1. [I]A game object can only be in one layer.[/I] The layer needs to be in the range [0...31]
     
    SergeyKoptev likes this.