Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Strip or unload built-in textures for headless server build

Discussion in 'Connected Games' started by keedav, Aug 15, 2019 at 2:39 PM.

  1. keedav


    Mar 3, 2013
    Hello everyone,

    I'm currently experimenting with Unity as a dedicated game server. For each room I'm planning to spawn a new process, and I need to reduce memory footprint as much as possible.
    However I can't seem to unload some built in textures, namely:
    UnityNHxRoughness (32.3 KB)
    UnityHalo (4.3 KB)
    UnityAttenuation (2.3 KB)
    UnityGrayscaleRamp (2.3 KB)

    Jegyzet 2019-08-15 152838.jpg

    As you can see in the attached memory snapshot, almost 1/3 of the total memory are used up by built-in textures. My question, how to I reduce the memory footprint even more? How to strip these textures? What modules are using it?

    I'm using Unity 2019.2.0f1, IL2CPP on Windows, disabled almost all built-in packages.

    Attached Files:

    Last edited: Aug 15, 2019 at 2:45 PM
    Opeth001 likes this.