Skip to content

Microsoft.MixedReality.OpenXR.Editor.asmdef has an incorrect version define (1.11.2)Β #193

@Reag

Description

@Reag

The asmdef for the editor for com.microsoft.mixedreality.openxr-1.11.2 has an incorrect version define in place. It defined the compiler directive 'UNITY_RENDER_PIPELINES_UNIVERSAL_17' however it checks for com.unity.render-pipelines.core. In the event that you are using the the core SRP (say, for a custom render pipeline), this means that the package will try to load URP specific code, despite the URP not being installed.

In the project I work on, the SRP is a dependency of ShaderGraph, which we use for some legacy render pipeline tricks. This leads to a compile error when we updated our package version to the latest (1.11.2).

The fix itself is very simple, just point the scripting define to 'com.unity.render-pipelines.universal'

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