Plugin Tag printing randomly to the console
-
hi there, i'm working on a tag plugin and whenever i add it to the scene the console start printing random letters , in this case it's printing "(null)" but sometimes it prints out completely random letters and symbols
-
Hello @aghiad322,
Thank you for reaching out to us. I would recommend having a look at our Forum Guildelines. Relevant points for this and prior threads of yours are:
- Questions should always contain the relevant and minimized code.
- We cannot debug applications for users.
- Do not post code as screenshots.
About your Question
This looks very much like your implementation is not conforming to the return signature of one of its methods. You probably have an often called method like
NodeData.Message
(given how frequent the error is) in there where one of the paths of that method returnsNone
instead ofbool
. You likely forgot the return statement altogether in that path, then returning an implicitNone
. Note thatMessage
is just an example, not the only option.Please understand that it is out of scope of support for us to find such "slips/accidents" in the code of users. Users must produce well-formed code on their own.
Cheers,
Ferdinand -
@ferdinand thanks a lot , the problem was in the "message()" function, it didn't return anything.
sorry for the inconvenience of my previous questions. -
-
Hey @aghiad322,
Great to hear that you solved your problem. And although I understand how you meant your last sentence, the questions of users are never inconvenient to us. All questions are welcome, but sometimes we must draw some boundaries for the scope of support.
Cheers,
Ferdinand