Why some texture become rainbow?

How to fix this?

You just need to restart the editor. You’ve run out of VRAM.