weird problem in C#
so this is my code, when i send the "code1" message i see "1" (from log) but not "2" (also example doesn't run, and console doesn't give any error) but when i call "OnChallengeTurnTaken " it works fine "example " too, what could be wrong ?
WE don not see Example() code..
What there is it? IF you are using a yild command, it will not reach DEbug.Log ("2") until it is completed..
$$anonymous$$aybe there is an infinite while...
WE need to see it..
Answer by GamitusLabs · Oct 17, 2018 at 08:42 PM
The only situations I've seen similar to this is when an exception was thrown stopping code execution in the function it was thrown from. Typical of null references, or references to improperly instantiated objects. Could be that the calling class doesn't have access to Example?
Weird that you aren't seeing anything in the console.
Your answer
Follow this Question
Related Questions
If-statements doesnt seem to be working.. (CODE IS CORRECT),Why isnt Unity seeing the if-statements? 1 Answer
The If statement condition is false but the if statement stills executes 1 Answer
Help with rotation please 2 Answers
Add changeable conditions in the editor, similar to unityEvent? 0 Answers
SqrMagnitude intermittently doesn't work for if statement on prefab. (C sharp) 1 Answer