- Home /
Lots of assets, memory management
Hi
In my game, there are a lot of "levels", each level composed of a lot of high-quality images. There may be a few hundreds images in all, but only a few of them have to be loaded in memory at any moment. I read on the net that it is not a good practice to link all the prefabs with game objects because they all get loaded on startup. So, is it still so (hasn't anything changed in unity ?) ? If so, how should I do it ? I know I can use Resourced.Load
, but i really like the ability to drag and drop prefabs to game objects. Or is it really better to have the images' names stored in some json on xml file ? Please help me, if there is some very different approach, you can tell me, I am open to any new ideas.
(And you can explain me why it is so easy to link prefabs with game objects if it is so not optimal. Every bigger game must have a lot of assets, not all of them loaded at a moment. I just cant understand it.)
Thank you
(Sorry for my English)
Your answer
Follow this Question
Related Questions
Handling large vertex counts. 0 Answers
IOS Terminated due to memory issue because of a 2D animation with 60 frames in it 1 Answer
AssetBundle INCREASES Memory Allocation 1 Answer
my games depend on 2D Sprites and animations , How to optimize the game size and memory allocating ? 1 Answer
ManagedStaticReferences when unload unused resources 0 Answers