Search Unity

Try to compressing meshes generate from asset to reduce APK size. Please Help meeee

Discussion in '2D' started by Joeladouille, Nov 8, 2019.

  1. Joeladouille

    Joeladouille

    Joined:
    Oct 3, 2018
    Posts:
    2
    Hi everyone,

    I'm Jordan, beginner on Unity and i'm trying to optimize my first game (coool)

    First, thanks to all the people who post and comment on the Unity Forum, reading your threads helped me so much.

    Here's my problem, and i hope you have a simple solution :

    My game is a mobile plateformer and i used Zippy Terrain 2D, asset from the assets store, to create my platforms.
    When i build my project, the editor log shows what 70% of the apk size come from Levels.
    So i'd liked to compress the meshes from my platforms but i can't acces to ModelImporterMeshCompression because thoses meshes are generate by the script of the asset.

    I tried to use the MeshUtility.SetMeshCompression method, but this creates a new asset for each platform and i'm not even sure it's working.

    I have already checked the 'optimize mesh data' in the project settings.

    I hope you guys have a simple solution to compress thoses meshes or any other solution to reduce my levels size.

    Have a good day everyone,

    Jordan