FSM SendEvent(string) stopped working.

NodeCanvas Forums Support FSM SendEvent(string) stopped working.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17560
    nodeshelp
    Participant

    Hello,

    I have moved my project to Unity 2021.3.35f1 and installed NodeCanvas 3.2.9. This project uses several instanced of the FSM. All of a sudden it seems that SendEvent(string) stopped working. There are no error messages, but the FSMs are stuck in the states that are supposed to listen to the events.

    Please help. Thank you.

    #17570
    Gavalakis
    Keymaster

    Hello. Is the only thing that changed in your project the Unity version? Can you please enable (if not already) the “Log Events Info” under the “Prefs” button in the graph editor toolbar to double check the logs. With this option enabled it will let us know when the events are sent and when they are received (if at all). Can you confirm (with this option enabled) that the events are sent/received or not?
    Let me know. Thank you.

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

    #17572
    nodeshelp
    Participant

    >> Is the only thing that changed in your project the Unity version?

    Also changed to NodeCanvas 3.29. I did the same with another project and it works fine. Very strange.

    >> Can you confirm (with this option enabled) that the events are sent/received or not?

    The events are Sent, but not received.

    Please let me know what else to check.

    #17588
    Gavalakis
    Keymaster

    Hmm. That is weird. Are you certain that the “Check Event” conditions are active at the time the event is sent please?
    Are both Send and Check Events the “string” version, meaning “Send Event (string)” and “Check Event (string)”?
    Are there maybe any other logs (errors, warning) that would be related?

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

    #17589
    nodeshelp
    Participant

    Before the upgrade, this project was in Unity 2020.3.48f1 and NodeCanvas v2.92. I didn’t make any changes other than upgrading and removing some unrelated packages.

    >> Are you certain that the “Check Event” conditions are active at the time the event is sent please?

    Maybe not. Before the upgrade the check mark (see the screens) was green. Now it’s dark gray.

    NodeCanvas-2.92

    NodeCanvas-3.29

    I’m not seeing any errors or warnings.

    >> Are both Send and Check Events the “string” version, meaning “Send Event (string)” and “Check Event (string)”?
    Yes. All the code is the same as before.

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

    Hello again,
    Does this happen only in this graph/case, or none of the Send/Check events work in the project?
    Is it possible to please send me your project (support_AT_paradoxnotion.com) to see what is going on (or even a small reproduction)?

    Thank you.

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

    #17750
    nodeshelp
    Participant

    Sorry for the delay.

    >> Does this happen only in this graph/case, or none of the Send/Check events work in the project?
    It happens to all the graphs in the project. I tested this again. Simply upgrading NodeCanvas from 2.92 to 3.3.0 causes the problem. It could be that Send/Check events work for a few seconds when the scene loads, but then only Send shows up in the log window.

    This happens only with one project. I have another project that was upgraded to NodeCanvas 3.3.0 with no issues.

    >> is it possible to please send me your project (support_AT_paradoxnotion.com) to see what is going on (or even a small reproduction)?
    Sorry, I don’t have this option.

    I will be happy to debug this if you could please explain the steps.

    Thanks again!

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