NullReferenceException

Hi all,

I have been getting the nullReferenceException on LoseCollider.OnTriggerEnter2D for quite a while. But it does not affect how the game runs. Can I solve this issue in any way? I did drag the game object from the Hierarchy to the Inspector.

Here are some screenshots:

Thank you

You’ve got 2 Lose Collider components on your game object. The reason it still works is because one of them has the level manager dragged in but the error is coming from the other one which does not have the level manager dragged in.

Privacy & Terms