Layers
What are Layers?
In Unity, a game developer can determine a set of collision layers in order to allow/disallow things from colliding with each other. VRChat uses this to it's advantage with 14 additional Layers, which helps determine what Meshes, Objects, and functions should be used where.
Below, you will find the Collision Layers that VRChat uses as of December 7th, 2022.
Varneon made a similar article about this here with similar information. The difference is that I've added my own research based on my own discoveries.
**No** | **Name** | **Description** | **Visual elements** | **Notes** |
0 | Default | Default Layer. | - Avatar Pedestals | |
1 | TransparentFX | |||
2 | IgnoreRaycast | |||
4 | Water |
- Portals - Mirrors |
||
5 | UI |
Interactive objects on this Layer cannot be interacted with until the Menu is opened. |
||
8 | Interactive | |||
9 | Player | - Any and all Remote Players in the current instance. |
|
|
10 | PlayerLocal | - Local player without a Head. |
VRCMirrorReflection refuses to render this layer anymore (because it's creepy?) |
|
11 | Environment |
Shares the same Collision Matrix as the Default Layer. |
||
12 | UiMenu |
- Nameplates |
||
13 | Pickup | Default Pickup Layer. | ||
14 | PickupNoEnvironment | Same as Pickup but does not collide with the World. |
Avoid using Gravity on Pickups is in this Layer, as it will never collide with the World whatsoever. |
|
15 | StereoLeft | |||
16 | StereoRight | |||
17 | Walkthrough | Similar to Default and Environment, except it does not collide with Players. |
||
18 | MirrorReflection |
- Complete Local Player (that's you!) is shown in Mirrors. |
Only Layer that is never rendered by the Main Camera (Local Player's sees the headless copy of themselves on Layer 10). Colliders on this layer never block VRChat Raycasts. |
|
19 | reserved2 |
- HUD. - Quick Menu and Main Menu. - Camera UI. - Camera Lens. - Tooltips. |
This Layer is immune to all Post Processing Volumes! |
|
20 | reserved3 | |||
21 | reserved4 |