This version of Unity is unsupported.

GameObject.scene

Switch to Manual
public SceneManagement.Scene scene;

Description

Scene that the GameObject is part of.