Skip to content

Errors in Unity 2023 due to using features that are in Unity 6 #115

@IGreisenI

Description

@IGreisenI

Importing the package into Unity 2023.2.20f1 is met with this error:
Library\PackageCache\app.rive.rive-unity@66348e3\Runtime\RenderQueue.cs(251,40): error CS0246: The type or namespace name 'UnsafeCommandBuffer' could not be found (are you missing a using directive or an assembly reference?).
I'm sure this behavior is the same for all 2023.1+ versions due to the following explanation.

Once that code is removed it is met with errors on 3 different lines. All the error lines use features that are in SRP Core version 17+ while Unity 2023 only has access to SRP Core version 16.

Believe this can be resolved simply by upping the version of Unity that's required for these features which are already encased in UNITY_2023_1_OR_NEWER tag with UNITY_6000_0_OR_NEWER tag

Issue can be easily recreated by opening the URP example in 2023.1+ version of Unity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions