Loading Material
Posted: Sun Jul 17, 2022 8:17 am
Hi,
I'm having an issue where when I load my player's material from Easy Save it loads a Legacy Shader with just a diffuse texture. If I assign the material through a button it comes out alright (shows emission, etc.). Any idea what I might be doing wrong?
playerSkin.material = ES2.Load<Material>("InventoryFile.txt?tag=playerSkinTag");
Is the issue that I'm using Easy Save 2 and not 3? I have Easy Save 3. Would upgrading my existing code be as easy as replacing ES2 with ES3? or might you have any upgrade recommendations?
Thanks,
Rob
I'm having an issue where when I load my player's material from Easy Save it loads a Legacy Shader with just a diffuse texture. If I assign the material through a button it comes out alright (shows emission, etc.). Any idea what I might be doing wrong?
playerSkin.material = ES2.Load<Material>("InventoryFile.txt?tag=playerSkinTag");
Is the issue that I'm using Easy Save 2 and not 3? I have Easy Save 3. Would upgrading my existing code be as easy as replacing ES2 with ES3? or might you have any upgrade recommendations?
Thanks,
Rob