Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

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

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

  1. valarus

    valarus

    Joined:
    Apr 7, 2019
    Posts:
    402
    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.