Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Script associated with Unity 2D.IK has a namespace which cannot be found.

Discussion in '2019.3 Beta' started by Deleted User, Sep 2, 2019.

  1. Deleted User

    Deleted User

    Guest

    The error I am receiving is:

    " Library/PackageCache/com.unity.2d.ik@1.1.0-preview.1/Editor/IKEditorManager.cs(5,36): error CS0234: The type or namespace name 'Common' does not exist in the namespace 'UnityEngine.Experimental.U2D' (are you missing an assembly reference?) ".

    The library doesn't exist and if I comment out the library, a class in the script is labelled undefined.
     
    modernator24 likes this.
  2. ChuanXin

    ChuanXin

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    1,068
    Could you try updating the 2D IK package to 1.3.0-preview.1? This will update the dependency on 2D Common and fix your issue.
     
  3. justincywong12

    justincywong12

    Joined:
    Feb 15, 2019
    Posts:
    2
    @ChuanXin updating the 2D IK package worked for me. Thanks!
     
    modernator24 likes this.