I’m trying to reduce the memory usage of my webgl project.
I found there is difference in shader section whether I load scene from addressable or start that scene at first.
I took screenshot from memory profiler.
A is the snapshot for loading scene from addressable. B is for loading that scene at first.
Texture2d is different also, but it came from duplicated reference for some asset, so please ignore it.
This image is unity objects of A.
Standard shader waste memory.
This image is same one of B.
Obviously the usage of Standard shader is small. References is same.
Any info is helpful.
Regards,