Question by
Rubenazo1999 · May 11, 2018 at 10:06 PM ·
errorerror messageraycasthit2derror-message
Error: my raycast works but I keep getting errors and I don't know why
asasas.png
(397.3 kB)
Comment
Best Answer
Answer by Rubenazo1999 · May 11, 2018 at 10:08 PM
The fun thing is that when is colliding with the tag it's supposed to collide to do x thing the error message doesn't pop out, but when it's not touching it the error appear.
EDIT: I finally fixed it doing this:
ass.png
(48.9 kB)
That was what I was going to say that the statement was null inside the != statements should have returned if null. But you figured it out. :D
Your answer
Follow this Question
Related Questions
I Have an C# error and I can't fix it @username 1 Answer
[Still need help]Help with Error 1 Answer
Error stage @username 1 Answer
"error CS1525: Unexpected symbol `end-of-file' " I've tried everything.... 1 Answer
Help Troubleshooting: "Cannot generate 9 slice most likely because the size is too big." 2 Answers