Sprite Becoming Blurry

I know this gets asked quite a bit, but I still have not been able to find a solution to this problem.

I have a sprite (not a power of 2). Using the 4.6 Image, I add the sprite to the image and it looks great:

In my script, I am messing with these images to create a pseudo-inventory system. However, when I switch the sprite back to the SAME image, the image becomes blurry (The top two images on the left):


I have tried setting the sprite as generate mip maps vs not generate mip maps, filter mode point vs bi-linear, format true colour vs 16 bit vs compressed, none of it is happening. No matter what combination of those three settings I use, the image is still blurry when swapped out via code.

The image is 1024 x 1024 so it is a power of 2, the max size is set to 1024.

I am at a loss for how to solve this problem.

The code I am using to swap the image is a simple image.sprite = (sprite loaded from resource)

public void AddItem(int itemID)
		if(inventoryItem[itemID] != null)
			Debug.Log ("Item exists!");

			for(int i = 0; i < inventoryOpen.Length; i++)
				if(inventoryOpen *== true)*
  •  		{*

_ inventoryOpen = false;_
_ inventorySlots*.sprite = inventoryImages[itemID];
inventoryItem = itemID;
Debug.Log ("Added item! Slot: " + i + " Slot Name? " + inventorySlots.name + " Item ID: " + itemID);

I really appreciate any help or thoughts anyone has on this problem._

-Make sure your image max size when you import it is big enough
-Try changing filter modes
-Untick Generate Mip Maps
-Change the Texture Type to Advanced and change some properties until you get the result you want
-lots of time this happens to me too, after re-importing a few times it looks okay.

I had the same issue in my game. I’m not sure why everyone is saying to not use generate mip maps, but clicking it helped the resolution a lot. I also checked tri-linear.