Difference between "Missing Reference Exception" and "Null Reference Exception" in Unity C#

2026 views c#
0

In the Unity manual there's an explanation for Null Reference Exceptions but not for Missing Reference Exceptions. Are there any differences?

answered question

Sounds like it's the same thing, still looking for an official answer.

1 Answer

10

Null reference typically means that something is not initialized correctly.

A missing reference exception means exactly that, a reference to something your project is dependent on is not being found. ( such as a missing USING statement or dependent component )

posted this

Have an answer?

JD

Please login first before posting an answer.