Skip to content

[Compilation Error] Rive Unity package fails to compile in Unity 6000.5.0f1 due to obsolete GetInstanceID() #167

@ArenHansy

Description

@ArenHansy

Submission checklist

  • I have confirmed the issue is present in the latest version of the Rive Unity package
  • I have searched the documentation and forums and could not find an answer
  • I have searched existing issues and this is not a duplicate

Description

The Rive Unity package fails to compile immediately upon importing or upgrading the project to Unity 6000.5.0f1.

Unity 6000.5 introduces a breaking change where GetInstanceID() is marked as an obsolete compile-time error as Unity transitions to the new EntityId system. The compiler blocks the build with an error message stating that GetInstanceID() on Assets should not be used.

Please update the asset ID referencing system to be compatible with Unity 6000.5.0f1 and later.

Previous working version

Unity 6000.4.10f1

Reproduction steps / code

No response

Upload your reproduction files / stack trace

No response

Source .riv / .rev file

No response

Screenshots / video

No response

Unity Editor log file

No response

Rive Unity package version

0.4.3

Unity version

6000.5.0f1

Target platform

macOS

Editor OS & version

macOS 26.5.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions