I'm trying to get a large group of GameObjects saved for our in-game Save/Load system. When I load the meshes of our stuff back in, it's all pink (no textures/materials). I tried to add materials/material/sharedmaterials to the MeshRenderer config in ES3 settings but that yields the same thing, plus an error:
Code: Select all
ArgumentNullException: Value cannot be null.
Parameter name: m
UnityEngine.Renderer.set_materials (UnityEngine.Material[] value) (at <bad59441812943c7b8d5a5ba85795810>:0)
ES3Types.ES3UserType_MeshRenderer.ReadComponent[T] (ES3Reader reader, System.Object obj) (at Assets/Easy Save 3/Types/ES3UserType_MeshRenderer.cs:98)
Thanks!