NodeCanvas mono manager event callbacks bug

NodeCanvas Forums Support NodeCanvas mono manager event callbacks bug

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #17391
    dul8
    Participant

    So I had a problem with node canvas, where I use monomanager events like onfixed update, and when I restart scene sometimes callbacks dont remove themselves from events even if I removed them OnStop in actiontask, so this creates missing refference exceptions every frame.

    This looks like a bug to me so I’m reporting it.

    My temporary solution to this is editing monomanager and setting them null when scene is loaded.
    I’ve also included picture where I subscribe and unsubscribe in action task

    PS: Maybe also worth mentioning that I load my scenes asynchronously

    Attachments:
    You must be logged in to view attached files.
    #17395
    Gavalakis
    Keymaster

    Hello. Thank you for letting me know. I will look at this and see why that is so. Your solution however (or similar) seems good though.
    Thank you.

    Join us on Discord: https://discord.gg/97q2Rjh

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