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.
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.
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.
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.