Discovered a strange one today. First I noticed that my scene is 130MB in size and since my project is procedural this is pretty high but it does however explain why the scene takes a long time to load.
Feels like an easy win to get that loading time down so I thought I would look further and opened up the scene in a text editor and sure enough its big… Looking in detail I can see that lots of images are storing their pixel data in the scene.
Yes, you read that correctly! Scenes are storing PIXEL data and not just references to the textures.
To get around it I wrote a quick editor that removes all the pixel data and now my scene is 2.5MB. Excellent, easy win. However… whenever I try to reimport the scene is takes a while and sure enough once its done its back to 130MB.
Are people already aware of this or is this a massive bug?
Editor version: 2021.1.24