missing an assembly reference

Forums 💬 NodeCanvas ⚙️ Support missing an assembly reference

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23060
    wtttt
    Participant

      A novice Unity user encountered an error after importing the new version of CanvasCore. The error occurred at Assets\ParadoxNotion\CanvasCore\Framework\Design\Editor\Windows\GraphEditor.cs(233,63): error CS0234: The type or namespace name ‘PrefabStage’ does not exist in the namespace ‘UnityEditor.SceneManagement’ (are you missing an assembly reference?).
      The version of Unity used is 2020.2.5f1.
      The version of CanvasCore used is 3.3.3.
      How can I solve this?

      #23062
      Gavalakis
      Keymaster

        Hello there,
        Unfortunately the minimum supported Unity version is 2021.3.x. That is because Unity made quite a few changes between these versions and I had to make the code more managable. PrefabStage specifically is in a different namespace in Unity version 2020.2.x than it is in version 2021.3.x and this is the reason you are getting this error. I would suggest if possible to please update to Unity 2021.3.x or later, or you can of course also change the code to point to the correct namespace (PrefabStage was in the ‘UnityEditor.Experimental.SceneManagement’ namespace in Unity 2020.x if I recall correctly).

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.