Completely Unused Textures Sitting in Memory (NonStreaming mips)
Hey folks! I'm running up against a very odd situation that's affecting a couple of my games. Basically, it seems like every single texture I add to the content browser gets loaded into the texture pool.
I noticed this when we kept hitting texture pool size warnings basically everywhere in our game--even menus where very little was getting rendered. When I ran Stat Streaming, I saw that the number in NonStreaming mips was huge. That seemed weird to me, so I ran ListTextures and the output log filled up with literally every texture I've added to the game.
To further test this, I created a completely blank level and ran it again. Same thing. This is my Stat Streaming from a level that has literally nothing in it.
To further test this, I added a very large texture to the game content browser and ran ListTextures. It came up as loaded into the texture pool even though I use it nowhere in the game. I have no sprites or materials that reference it at all.
I have Texture Streaming turned on and only a few of my UI textures are set to "Never Stream". I realize I could just bump up my texture pool and solve this problem, but this feels like something that I should be able to fix. Thanks!
edit: all my textures are Power of 2 sizes so that's not the problem either.
Follow this question
Once you sign in you will be able to subscribe for any updates here