hello, I am trying to change an image of a player icon via script using this line:
currentImage.sprite = Resources.Load("Sprites/Icon sprites/icon defualt") as Sprite;
But it doesn’t seem to work because when I do
Debug.Log(currentImage.sprite.name);
it return a null error.
This is the path to the sprite:

I have crossed what I have done with the official unity docs in the link bellow and it all seems right to me, would be much appreciated if someone takes a look and maybe sees something I have missed.
unity docs: Unity - Scripting API: Resources.Load