[SDK]Scene Descriptor can keep references to unused materials alive
complete
BlueAmulet
I deleted a material using a large texture and complex shader, and noticed that the size of my map didn't decrease at all. After some debugging I found out that the VRC_SceneDesciptor on the VRCWorld object still had a reference to the material in it's 'Dynamic Materials' despite no object in the scene using it. A few of the slots were also set to None.
Recreating the VRCWorld object removed the reference and the map was smaller now.
Log In
meingott
This bug still exists when using objects like trees in the Terrain Tool and then deleting them. The references to the trees' materials remain intact.
Recreating the VRC_SceneDescriptor resolves this issue as well.
Tupper - VRChat Head of Community
marked this post as
complete
Fixed in 2019.3.1.
Tupper - VRChat Head of Community
marked this post as
in progress
Fixed in 2019.3.1, which is now in Open Beta!