This version of Unity is unsupported.

XRSettings.showDeviceView

public static bool showDeviceView;

Description

This property has been deprecated. Use XRSettings.gameViewRenderMode instead.