Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug XR Interaction Toolkit Import Error

Discussion in 'Unity Mediation' started by maplegorillatag, Jun 29, 2023.

  1. maplegorillatag

    maplegorillatag

    Joined:
    Jun 26, 2023
    Posts:
    1
    I was trying to import xr interaction toolkit which I have done many times before on the same editor version when I got a error as soon as I imported that I can not fix

    Library\PackageCache\com.unity.xr.interaction.toolkit@2.4.0\Runtime\Utilities\ComponentLocatorUtility.cs(31,43): error CS0117: 'Object' does not contain a definition for 'FindFirstObjectByType'
     
    LisaBarth likes this.
  2. mycraft1001

    mycraft1001

    Joined:
    Apr 12, 2021
    Posts:
    1
    I had the same problem, so I ended up switching to an older version for now. Not a perfect solution, but the problem seems to go away.
     
  3. VirginieC

    VirginieC

    Unity Technologies

    Joined:
    Aug 1, 2019
    Posts:
    17
    Hi maplegorillatag!

    You are in the wrong forum, this one is dedicated to the unity mediation package. You would be better to ask this question in the UI Toolkit forum. Good luck!