Deserialization attempt failure happens very very frequently

NodeCanvas Forums Support Deserialization attempt failure happens very very frequently

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16319
    januszhu
    Participant

    【Description】

    – After Upgraded to latest NodeCanvas verison (3.2.5),Deserialization attempt failure happens very frequently Even if I Just modify my custom ActionTask code.

    【Problem】

    – I met this problem without any clue or logic , somtimes I just do some stuff on Inspector or just edit BTNode, or create a new custom ActionTask script

    – Restart Unity Editor won’t help , I must discard the modification of the nodecanvas asset.

    – This is really annoying.

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

    Hello and sorry for the late reply!

    Can you please let me know what version you were using before?

    Could you also please specify any steps for when this happens? For example, just by editing a node or inspector, it should really happen since deserializations is not even called at that time at all. Any additional details would really help (even sending the project to see what is going on to support_AT_paradoxnotion.com).

    Let me know. Thank you.

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

    #16333
    januszhu
    Participant

    I found the cause of this problem, nodecanvas failed to serialize LayerMask filed with using LayerMask.NameToLayer() .

    If I initialize a LayerMask filed in class like : LayerMask lm = 1 << LayerMask.NameToLayer(“a”) |  1 << LayerMask.NameToLayer(“b”),nodecanvas serialize it failed, because I can not find it in json file.

    Maybe it’s not the new version problem, but it’s very hard to debug.

     

    #16342
    Gavalakis
    Keymaster

    Hello again,

    Thank you for the information. I will take a look at this and see how it can be fixed.

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

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