'NodeCanvas.Framework.Task' already contains a definition for '_icon'

Forums 💬 NodeCanvas ⚙️ Support 'NodeCanvas.Framework.Task' already contains a definition for '_icon'

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #17409
    wardevour
    Participant

      Assets/ParadoxNotion/NodeCanvas/Framework/Runtime/Tasks/Task.cs(492,18): error CS0102: The type ‘NodeCanvas.Framework.Task’ already contains a definition for ‘_icon’

      I’ve just updated Unity to 2018.1.0f2 and get the error above with NodeCanvas 2.8.0

      #17411
      wardevour
      Participant

        Looks like files were moved in an update and some duplicates remained. I had to delete NodeCanvas and reinstall. What is the recommended way to update NodeCanvas? Can NuGet or Unity Package Manager handle this?

        #17410
        Gavalakis
        Keymaster

          Hello,

          The preferable way to update, is indeed to always please remove the previous NodeCanvas installation folder and re-install the new version anew.
          Unfortunately, packages imported from the Asset Store does not use NuGet or the Unity Package Manager (which might or might not be able to handle file changes/renames) and hopefully Unity will update the Asset Store packages to using the Package Manager (or another better way) in the future, but right now all package imported from the Asset Store can not handle this, thus a fresh re-install is always preferred.

          Thank you.

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