0

These expressions both return a null reference:

Resources.Load("poo") as Sprite

Resources.Load<Sprite>("poo")

And I cannot for the life of me figure out why. The file "poo.png" is definitely in the "Resources" folder. The expression:

Resources.Load("poo")

...returns a Texture2D object

Is there some other way to load a Sprite in Unity?

0 Answers0