Not able to add Sprite in the Inspector.
I am declaring a sprite variable like as follows:-
public Sprite anySprite;
But i am not able to assign it with the sprite. If i drag-drop a sprite , than also it never holds that sprite.
It always remains None. And it is happening only in one project .If a create a new one then everything is fine.
1.png
(7.9 kB)
Comment
Have you tried another Sprite yet, to see if it works?
yes . i tried everything. From my imports to unity's default sprite.
Are you sure you have a sprite prefab and not a GameObject?