Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

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

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

  1. Andromedog

    Andromedog

    Joined:
    Sep 26, 2017
    Posts:
    15
    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:
    539
    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.
unityunity