- Home /
Unity 5 - 1820 textures in empty scene
Hi, I was checking amount of textures in my empty scene in Unity 5 using Resources.FindObjectsOfTypeAll(typeof(Texture)).Length
In a completely empty scene it returns 1820.
What might the problem be?
Thank you.
Comment
Best Answer
Answer by GregoryNeal · Jun 19, 2015 at 11:59 PM
According to the docs, it returns any object of that type that Unity loaded, including all of the internal bits. It's probably just that.
Answer by PandawanFr · Jun 20, 2015 at 11:45 AM
I do not know, but I guess it would be some sort of Unity rendering stuff that you do not see. It could be the skybox that's separated into small textures while in play mode.
Your answer
