Sample scene error

Forums 💬 NodeCanvas ⚙️ Support Sample scene error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19366
    piotro
    Participant

      Hi,

      Another error I get while I’m trying to run the first FSM example:

      Task Init:</b> Failed to change Agent to type ‘UnityEngine.Animation’, for Task ‘Play Animation Simple’ or new Agent is NULL. Does the Agent has that Component?
      UnityEngine.Debug:LogError(Object, Object)
      NodeCanvas.Task:Initialize(Component) (at Assets/ThirdParty/NodeCanvas/Core/Tasks/Task.cs:302)
      NodeCanvas.Task:Set(Component, Blackboard) (at Assets/ThirdParty/NodeCanvas/Core/Tasks/Task.cs:285)
      NodeCanvas.ActionTask:ExecuteAction(Component, Blackboard) (at Assets/ThirdParty/NodeCanvas/Core/Tasks/ActionTask.cs:74)
      NodeCanvas.ActionList:OnUpdate() (at Assets/ThirdParty/NodeCanvas/Core/Tasks/ActionList.cs:75)
      NodeCanvas.ActionList:OnExecute() (at Assets/ThirdParty/NodeCanvas/Core/Tasks/ActionList.cs:56)
      NodeCanvas.ActionTask:ExecuteAction(Component, Blackboard) (at Assets/ThirdParty/NodeCanvas/Core/Tasks/ActionTask.cs:82)
      NodeCanvas.StateMachines.FSMActionState:Stay() (at Assets/ThirdParty/NodeCanvas/Systems/FSM/FSMActionState.cs:59)
      NodeCanvas.StateMachines.FSMActionState:Enter() (at Assets/ThirdParty/NodeCanvas/Systems/FSM/FSMActionState.cs:55)
      NodeCanvas.StateMachines.FSMState:OnExecute() (at Assets/ThirdParty/NodeCanvas/Systems/FSM/FSMState.cs:78)
      NodeCanvas.Node:OnExecute(Component) (at Assets/ThirdParty/NodeCanvas/Core/Graph/Node.cs:218)
      NodeCanvas.Node:OnExecute(Component, Blackboard) (at Assets/ThirdParty/NodeCanvas/Core/Graph/Node.cs:214)
      NodeCanvas.Node:Execute(Component, Blackboard) (at Assets/ThirdParty/NodeCanvas/Core/Graph/Node.cs:200)
      NodeCanvas.StateMachines.FSM:EnterState(FSMState) (at Assets/ThirdParty/NodeCanvas/Systems/FSM/FSM.cs:112)
      NodeCanvas.StateMachines.FSM:OnGraphStarted() (at Assets/ThirdParty/NodeCanvas/Systems/FSM/FSM.cs:43)
      NodeCanvas.Graph:StartGraph(Component, Blackboard, Action) (at Assets/ThirdParty/NodeCanvas/Core/Graph/Graph.cs:297)
      NodeCanvas.Graph:StartGraph(Component, Blackboard) (at Assets/ThirdParty/NodeCanvas/Core/Graph/Graph.cs:248)
      NodeCanvas.GraphOwner:StartBehaviour() (at Assets/ThirdParty/NodeCanvas/Core/Graph/GraphOwner.cs:62)
      NodeCanvas.GraphOwner:OnEnable() (at Assets/ThirdParty/NodeCanvas/Core/Graph/GraphOwner.cs:173)

      Thanks,
      Piotr

      #19369
      Gavalakis
      Keymaster

        Hello Piotr,

        Sorry for the late reply. As I’ve answered to your other question, I was ill 🙂

        The sample scenes seems to have somehow been corrupted due to being saved with Unity 5 and back accidentaly.
        I will need to re-upload the sample scenes ASAP. Sorry about that!
        I will let you know by posting here as soon as the new ones are uploaded.

        Thanks for noticing

        #19368
        piotro
        Participant

          Good to know!

          – P

          #19367
          Gavalakis
          Keymaster

            Hello,

            Sorry for being a bit late.
            The re-saved sample scenes are now uploaded. Please redownload them from the ‘Resources’ section of the website
            Thank you.

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