- Home /
Question by
fturangga · Apr 22 at 05:41 PM ·
nullreferenceexception
Error running StartUp for Tile.NullReferenceException: Object reference not set to an instance of an object
i got this null reference even tho i have set an instance of the object
this is the line of the error:
go.GetComponent<SpriteRenderer>().sortingOrder = -position.y * 2;
askabouttree.png
(13.1 kB)
Comment
Your answer
