- Home /
Why might a single SpriteSheet show up twice in memory profiler on device?
Hi, our project has a spritesheet that is referenced by a number of Image components in our game. The Spritesheet is NOT located in a 'Resources' folder, so we're solely relying on those Image components to properly pull in the references to the spritesheet. However, it looks like our spritesheet is being instantiated twice when we run the game (in my case an Android). Does anyone know why that is?
I thought Unity would be smart enough to realize that a spritesheet with a specific GUID has already been loaded so additional copies don't need to be loaded.
For background, we have some Image components baked into scenes which we put into one asset bundle, and Image components that are in prefabs that are placed in different asset bundles.
How can we prevent the spritesheet from being loaded twice? And please don't say to put it in a Resource folder because our IPA is big enough already :D
Thanks in advance, Jeff
Your answer
Follow this Question
Related Questions
Can't Optimize Huge Sprite Sheet 1 Answer
Unity Image Loading System optimization request 1 Answer
32 bit color in texture file 0 Answers