Platform Switch

A Meta Quest has less memory and power than a PC. The Platform Switch keeps one scene for every platform and changes what you choose when Unity builds for Android (Quest): a lighter mesh, a simpler material, a light or an effect turned off.

Open it

Open NodeWorld, Platform Switch. A scene has one Platform Switch; if yours has none, click Create Platform Switch in Scene (it adds a _PlatformSwitch object).

Add an override

  1. Click + Add Override.
  2. Drop the Target: an object, a component or a material of the scene.
  3. The override reads the current values into two columns, PC and Android. Change the Android column (or the PC one).

What you can override:

TargetWhat changes per platform
GameObjectActive or not.
TransformPosition, rotation, scale.
Renderer, Skinned Mesh RendererMaterials, shadows, enabled.
Mesh Filter, Mesh ColliderThe mesh.
MaterialShader and its properties.
Light, Reflection Probe, CameraTheir settings.
Animator, Audio Source, LOD Group, ColliderTheir settings.
Any other componentEnabled or not.

See each version

Apply Desktop (Windows/Linux) and Apply Android (Quest) put the scene in one version or the other, to look at it in the editor. When you publish, each platform gets its own values by itself: the scene is saved with them before its build.