Skip to content

Package Dependency with Unity UI 2.0.0 (com.unity.ugui) #1417

@M0K0KO

Description

@M0K0KO

Plugin Version or Commit ID

v0.16.2

Unity Version

6000.2.10f1

Your Host OS

Windows11 home

Target Platform

UnityEditor

[Windows Only] Visual Studio C++ and Windows SDK Version

No response

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

No response

Command Sequences

Imported this package right after setting new project

Log

Library\PackageCache\com.unity.ugui@7056cb05de4c\Runtime\UGUI\EventSystem\UIElements\WorldDocumentRaycaster.cs(49,70): error CS1061: 'EventSystem' does not contain a definition for 'uiToolkitInterop' and no accessible extension method 'uiToolkitInterop' accepting a first argument of type 'EventSystem' could be found (are you missing a using directive or an assembly reference?)

Additional Context

I found that package dependency problem is causing this error. Unity has recently release Unity UI 2.0.0 version and it is using Unity UI package as dependency. I tried to install in Unity 2022 version where Unity UI Package is still on 1.0.0 and it worked!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions