Tree is not loading after renaming custom actions

NodeCanvas Forums Support Tree is not loading after renaming custom actions

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10161

    So I’ve been refactoring some of my code, and of course on of the trees is node loading in the Node Canvas. Canvas is just blank and is not responding. Unity gives tons of errors. Is there any way I can go and change the names of classes? How is the tree data is serialized?

    I’m posting a screenshot of all the errors here as well:

    #10167

    I have had the same thing, I ended up just rebuilding my tree but I didn’t have any screenshots so maybe the author can get to the bottom of it with this.

    I think the author said it was something to do with the name being the same but the filename being different so it couldn’t match it up, or something along those lines. I am sure he said if the class and file name are both the same on all actions everything should work again.

    #10166

    Well in my case its a ton of actions which I’ve renamed… should have done a backup I guess.

    #10165
    Gavalakis
    Keymaster

    Hey,

    Yes as grofit says. When renaming a class name, make sure to rename the script file name as well!
    As soon as you do that and re-open unity or reload the scene everything will work again.
    Well considering you’ve at least saved the scene.

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

    #10164

    Double-checked all the names – the tree still not loading. Anyway to get inside the file where the tree is saved?

    #10163

    I would be interested in finding out more about this as I had same behaviour and I could not recover so if you can help the author figure out the underlying issue if there is a bug will save a lot of heartbreak for others further down the line 🙂

    #10162
    Gavalakis
    Keymaster

    Can someone please send me a broken project due to this reason so that I can take a look?

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

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