OnUpdate of ActionList gets called twice at start

Forums 💬 NodeCanvas ⚙️ Support OnUpdate of ActionList gets called twice at start

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18357
    jakko
    Participant

      Hi,
      Since the latest version I noticed that at the start of an ActionList the OnUpdate gets called twice during that frame, causing problems in my project.

      I removed the OnUpdate in ActionList.OnExecute, and that seems to solve it for me.
      Which seems logical, as its base class ActionTask already makes sure OnUpdate gets called at the start.

      Best,
      Jakko

      #18358
      Gavalakis
      Keymaster

        Hey,

        Thanks for the fix. Yes, I made the base ActionTask class call OnUpdate right after OnExecute in the last version and obviously forgot to remove the OnUpdate from within ActionList. :/ It is indeed not needed anymore to be there.

        Thanks again.

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