Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Lit shader takes 800Mb in apk build in simple game with 1 scene

Discussion in 'Editor & General Support' started by Ts1nd, Nov 26, 2022.

  1. Ts1nd

    Ts1nd

    Joined:
    Jan 24, 2021
    Posts:
    50
    upload_2022-11-26_16-48-55.png

    What is going on?
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    2,478
    What unity version?
    What urp version?
    Did you enable shader striping?
     
  3. Ts1nd

    Ts1nd

    Joined:
    Jan 24, 2021
    Posts:
    50
    2022.2.0b13
    The newest available.
    No, I left it as default
     
  4. Ts1nd

    Ts1nd

    Joined:
    Jan 24, 2021
    Posts:
    50
    Noting the size was around 200Mb in one of the previous unity versions.
     
  5. Ts1nd

    Ts1nd

    Joined:
    Jan 24, 2021
    Posts:
    50
    So I have tried with stripping and the build is still going after almost 8h...

    upload_2022-11-27_0-51-49.png
     
  6. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    2,478
    Is this a blank project made in 2022.2?
    Does it also happen in 2021.3lts? (Beta can be very broken sometimes)
     
  7. Ts1nd

    Ts1nd

    Joined:
    Jan 24, 2021
    Posts:
    50
    No, it's upgraded to beta. Yes, it's VERY broken. On LTS the size was under 100mb.
     
  8. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    2,478
    Then make a bug report for the beta and hope it's fixed soon