This version of Unity is unsupported.

Camera.RenderRequestMode.ObjectId

Switch to Manual

Description

The render request outputs an object InstanceID buffer.

Outputs a buffer that maps the the UnityEngine.Object.GetInstanceID() at each pixel.