I seemed to have a weird problem where a GameObject becomes null when passed to a [Command].
I went to see what could be the issue of why "obj" is null, when it is clearly not. As in, I'm passing in a GameObject that was instantiated immediately before calling the [Command] function.
I only know a few things that could happen:
What problems could be causing parameters passed to [Command] to become null?
Code (CSharp):
- //obj == null
- //Some other stuffs that can't be done when obj is null.
- }
I only know a few things that could happen:
- When the...
What problems could be causing parameters passed to [Command] to become null?