Question 1
A Unity developer receives a NullReferenceException when calling a method on a component. The object reference was assigned earlier with GetComponent. What should be checked first?
Show answer & explanation
Correct answer: A - Whether GetComponent returned null before the method call