Quick question regarding Resources.Load–
If I place an object (say, a material) in my Resources folder and then cache it in memory by calling Resources.Load and storing the result in a variable, will new objects instantiated with that material automatically recognize that it’s been cached with Resources.Load and look for it in memory rather than reloading it from disk? Or do I have to explicitly set a new object’s material to the cached material with “Resources.Load” again?
You have to instantiate the cached copy you have (that way its a cache otherwise its no cache but wasted RAM ;)), not use Resources.Load
Thanks a bunch for clearing that up! One other quick question–are objects included in a scene but deactivated in the editor still built into/loaded along with the scene at runtime?
Yes they are still there yes (otherwise they wouldn’t exist at all), because you could have assigned them on some component for example in its inactive form.
Great, thanks so much! Much appreciated.