Blackboard error in Editor

NodeCanvas Forums Support Blackboard error in Editor

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9634
    pjohalloran
    Participant

    Hi,

    Just reporting an error log in the Editor here.
    See stacktrace at https://gist.github.com/pjohalloran/fb36dabdf24b61218c9c .

    I switch git branches and clear player and editor prefs quite frequently when doing so to clear various game settings we have. I have a script attached to my BT that saves me having to recreate the Blackboard variables in the editor each time i run the game.

    In Awake of the component i basically call for a set of common blackboard variables:

    If i dont do this, i get repeating errors when i try to view the graph in the editor. I guess this maybe causing it. Is there another way to get around this issue? Or to fix the issue above?

    The stack trace is FullSerializer giving out that the fsMetaType cannot create an instance of an interface or abstract class. I did try changing Variable to use virtual methods instead of abstract methods and the issue went away. But unsure if this is the right thing to do.

    #9636
    Gavalakis
    Keymaster

    Hello,

    I try to understand what’s the issue here, but I am a bit confused 🙂
    Is the problem that you get errors without doing this initialization in awake?
    Can you please let me know what kind of errors you get (I mean apart from the fsMetaType)?

    Thanks

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

    #9635
    pjohalloran
    Participant

    Hi, sorry for the confusing report. 🙂
    Its just an error in the console in the Editor periodically, mostly when i play and stop our game or when the scene switches when the serializing of the blackboard kicks in. The fsMetaType error in the github gist there is the error i mean. Just reporting as maybe its a deeper issue. In a previous post i mentioned making the Variable base class use empty virtual methods instead of abstract and this seems to satisfy FullSerializer but i am unsure what effect it has on the BT system (no effect i think).

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