Skip to content

Unity 6.3 compilation exception #196

@anonymous2585

Description

@anonymous2585

When using "Mixed Reality OpenXR Plugin" version 1.11.2 in Unity 6.3, there is a compilation exception on line 455 of Editor/Settings/PlatformValidation.cs that prevent doing anything in the editor.

This is due to the use of the setter enableRenderCompatibilityMode that is now behind the Scripting Define Symbols URP_COMPATIBILITY_MODE.

Further deprecation of URP Compatibility Mode

Universal Render Pipeline Compatibility Mode was deprecated in Unity 6.0 and will now be hidden by default. The code will be stripped to improve compilation time and reduce the build size.

The property RenderGraphSettings.enableCompatibilityMode will be changed to be read-only (returning false) unless you add URP_COMPATIBILITY_MODE to the Scripting Define Symbols in the Player Settings for each of your target platforms. This is not recommended and not supported.

https://discussions.unity.com/t/planned-breaking-changes-in-unity-6-3/1646418

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions