Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    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:
    735
    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