Trouble Updating to New Version

NodeCanvas Forums Support Trouble Updating to New Version

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14185
    emmet
    Participant

    Hello!

    We are having a lot of performance issues and they seem to be due to NodeCanvas, which we use extensively in our project – for AI, cutscenes, dialogs. In the profiler there is a huge chunk of time devoted to nodes, but there’s no obvious point of optimization – it’s just lots and lots of nodes each taking a little bit.

    That’s not what this thread is about though – we’d like to try updating our NodeCanvas first. We’re not even sure what version we use currently – can’t seem to find it anywhere. We just know it came from about mid 2017, so it’s quite old.

    Simply updating to the newest version seems to have preserved all the trees, blackboards, connections etc, so that’s fine. However they don’t work at runtime and we get tons of console errors to do with deserialization (pictured). Looking at the trees, it’s not really clear why they’re not working anymore, either.

    I’m hoping maybe there’s a simple solution for this – before even starting to worry about optimization we’d like to make sure we’re on a more recent version. (Note: we’re using Unity 2018.2.8f1)

    #14187
    Gavalakis
    Keymaster

    Hello,

    Hmm. It would be very helpfull if you can tell me from which version you are upgrading from and to what version you are upgrading to.

    You can find the current version you are using in the NodeCanvas graph editor toolbar (on the top right). If for any reason you can’t open the graph editor, you can also find the current version in the source code and into the GraphSerializationData.cs file (there is a constant field named “FRAMEWORK_VERSION”.)

    With that said, there has very recently been a new version release (on 26 March), which fixes a very critical serialization bug which did have to do with the errors you are encountering (“Internal Deserialization Error – Object Definition has not been encountered……”).

    Can you please try updating from the asset store the that new version 2.9.2 (if not the one you already are updating to) and let me know?

    Also, do you by any chance have placed NodeCanvas in the “Plugins” folder, or placed it into any custom Assembly Definition?
    Have you tried making a clean install by completely removing the previous version folder and re-importing from the asset store anew?

    Please let me know.

    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.