NullReferenceException: Object reference not set to an instance of an object

This is a problem I face so many times that I need to write it as a reminder for my future self. How to fix Null Reference Exceptions: What does it mean that an object reference is not set to an instance of an object. Let’s say we have a method we want to call, this function is in script B, and you want to … Continue reading NullReferenceException: Object reference not set to an instance of an object

Advertisements