{"id":10996,"date":"2025-09-10T14:45:31","date_gmt":"2025-09-10T14:45:31","guid":{"rendered":"https:\/\/playgama.com\/blog\/?p=10996"},"modified":"2026-04-03T10:04:21","modified_gmt":"2026-04-03T10:04:21","slug":"how-to-shrink-empty-unity-build-from-10mb-to-2mb","status":"publish","type":"post","link":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/","title":{"rendered":"How to reduce empty Unity build size from 10MB to 2MB"},"content":{"rendered":"<p><a href=\"https:\/\/unity.com\/products\/unity-engine\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Unity<\/a> is a powerful and versatile game engine and with the right setup, it can produce highly optimized WebGL builds. While a default empty project may start around 7-8 MB, proper configuration and asset management can significantly reduce file size-making it possible to meet the strict load-time and size requirements of platforms like FB Instant Games or MSN.<\/p>\n\n\n\n<p>But here\u2019s the good news: with smart configuration and deep understanding of how Unity compiles and packages WebGL builds, you can bring that size <strong>down to just 2 MB<\/strong>, without sacrificing stability or core functionality.<\/p>\n\n\n\n<p>This guide dives into exactly <strong>how to strip Unity to its barebones<\/strong>, eliminate unnecessary engine modules, trim code, compress assets, and configure the build pipeline to get a minimal WebGL export. We\u2019ll cover:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Disabling unused engine features and modules<\/li>\n\n\n\n<li>Removing code stripping blockers and ensuring safe managed stripping<\/li>\n\n\n\n<li>Fine-tuning PlayerSettings, and <strong>IL2CPP settings<\/strong><\/li>\n\n\n\n<li>Using correct compression format for Builds \/ Images \/ Sounds, etc<\/li>\n\n\n\n<li>Setting up an efficient template and build structure<\/li>\n<\/ul>\n\n\n\n<p>Whether you\u2019re building a hyper-casual web game or trying to squeeze your prototype onto a 5MB cap platform, these techniques will help you <strong>shrink Unity to its lightest form possible.<\/strong><\/p>\n\n\n\n<p>This walkthrough is performed on an empty Unity project to isolate the effect of each change. (See \u201cExperiment details\u201d below for Unity version, scripting backend, and compression settings used.)<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 1:<\/strong> Create an empty Unity project for WebGL<\/h3>\n\n\n\n<p>(we will use Unity 6000.0.23f1 + Built-In Render Pipeline)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"2508\" height=\"1300\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png\" alt=\"\" class=\"wp-image-11941\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-300x156.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-768x398.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1536x796.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-2048x1062.png 2048w\" sizes=\"auto, (max-width: 2508px) 100vw, 2508px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: <\/strong>Switch platform to WebGL and create a build<\/h3>\n\n\n\n<p>(we are doing this to understand initial build size of Unity WebGL projects with default settings)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"688\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/2-1024x688.png\" alt=\"\" class=\"wp-image-11944\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/2-1024x688.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/2-300x201.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/2-768x516.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/2.png 1090w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>We can see that initial build is around 9.7 MB (which is quiet too much for WEBGL). In this example we haven\u2019t changed anything yet, obviously if we change compression and other settings we can shrink build size (that\u2019s what we will do in the next steps).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: <\/strong>Go to build settings and change \u201cCode Optimization: Build Size with LTO\u201d<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"854\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3-1024x854.png\" alt=\"\" class=\"wp-image-11945\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3-1024x854.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3-300x250.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3-768x641.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3-1536x1282.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3.png 1776w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Boom! We already have 9MB build size.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3.1-1024x576.png\" alt=\"\" class=\"wp-image-11948\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3.1-1024x576.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3.1-300x169.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3.1-768x432.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/3.1.png 1434w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Let\u2019s dive deep in Player settings and optimize it.<\/h3>\n\n\n\n<p>Let\u2019s change Compression to \u201cBrotli\u201d and enable \u201cName files as Hashes\u201d checkbox in Menu, screenshot with settings is below<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"528\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4-1024x528.png\" alt=\"\" class=\"wp-image-11950\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4-1024x528.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4-300x155.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4-768x396.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4.png 1512w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Next we are creating the next build\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4.1-1024x527.png\" alt=\"\" class=\"wp-image-11951\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4.1-1024x527.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4.1-300x154.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4.1-768x395.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/4.1.png 1434w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now it\u2019s 6.8mb so we are already optimized Unity build from 9.7mb to 6.8mb! Let\u2019s go further.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Now let\u2019s change IL2CPP Code Generation to \u201cSmaller Builds\u201d and change C++ Compiler Configuration to Master<\/h3>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"819\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5-1024x819.png\" alt=\"\" class=\"wp-image-11954\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5-1024x819.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5-300x240.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5-768x615.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5-1536x1229.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5.png 1562w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now we have 6.2MB build size!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"581\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5.1-1024x581.png\" alt=\"\" class=\"wp-image-11955\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5.1-1024x581.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5.1-300x170.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5.1-768x436.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/5.1.png 1438w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Step 6: Texture compression ASTC \/ DXT \/ ETC2<\/h3>\n\n\n\n<p>In our case, there will be no difference, because we don\u2019t use textures in current build, but depending on the platforms you can choose what suits for you. Generally we always recommend to turn on crunch compression on textures. We will not do new build here, because it will not change anything<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 7: If your game allows, you can change Color Space: Gamma, it will save additional 100kb for the build<\/h3>\n\n\n\n<p>Please be cautious, because rendering will change significantly, and personally Color Space: Linear looks much better<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 8: Strip Engine Code<\/h3>\n\n\n\n<p>Managed Striping Level: High (for this settings please be cautious, because sometimes it can \u201cstrip\u201d needed code for your game, please test after enabling this checkbox)<br>! Also enable texture mipmap stripping<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"461\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8-1024x461.png\" alt=\"\" class=\"wp-image-11958\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8-1024x461.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8-300x135.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8-768x346.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.png 1448w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Yeeeey! We are almost there, now we have 4.6MB build, 2 more MBs and we finish our optimization journey. Let\u2019s remove unneeded packages from the project and remove unneeded quality settings. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"527\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.1-1024x527.png\" alt=\"\" class=\"wp-image-11970\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.1-1024x527.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.1-300x154.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.1-768x395.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.1-1536x791.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.1.png 1974w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Remove Graphic Settings and set to low (for example if you use \u201cshadows\u201d it will be better to fully disable built-in shaders and create custom \u201cblob\u201d shadow system)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"211\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.2-1024x211.png\" alt=\"\" class=\"wp-image-11972\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.2-1024x211.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.2-300x62.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.2-768x158.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.2-1536x316.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.2.png 1982w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>For example, \u201cNew Input System\u201d \u2013 is actually around 2.4 MB, so if you don\u2019t use it, please remove New Input System Package, like in screenshot below, and finally we will get 2.2MB Unity WebGL Build I encourage use \u201cOld Input System\u201d \u2013 because 2.4MB is quiet big for web projects.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"709\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.3-1024x709.png\" alt=\"\" class=\"wp-image-11973\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.3-1024x709.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.3-300x208.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.3-768x532.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.3-1536x1063.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/8.3-2048x1418.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"920\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/84-1024x920.png\" alt=\"\" class=\"wp-image-11974\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/84-1024x920.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/84-300x270.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/84-768x690.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/84-1536x1381.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/84.png 1978w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"709\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/85-1024x709.png\" alt=\"\" class=\"wp-image-11977\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/85-1024x709.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/85-300x208.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/85-768x532.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/85-1536x1063.png 1536w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/85-2048x1418.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>And finally let\u2019s do a final build and we have 2.2mb here, that\u2019s quiet good for WEBGL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/86-1024x574.png\" alt=\"\" class=\"wp-image-11978\" srcset=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/86-1024x574.png 1024w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/86-300x168.png 300w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/86-768x431.png 768w, https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/86.png 1448w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Your actual game will be bigger, because you will use textures \/ code \/ shaders \/ models, etc. But now being under 5 or 10 MB is much more achievable! <br><br>Best of luck from Playgama team<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Unity is a powerful and versatile game engine and with the right setup, it can produce highly optimized WebGL builds. While a default empty project may start around 7-8 MB, proper configuration and asset management can significantly reduce file size-making it possible to meet the strict load-time and size requirements [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","om_disable_all_campaigns":false,"footnotes":""},"categories":[4,1299,10],"tags":[],"class_list":["post-10996","post","type-post","status-publish","format-standard","hentry","category-general","category-main","category-unity"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to reduce empty Unity build size from 10MB to 2MB - Playgama Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to reduce empty Unity build size from 10MB to 2MB - Playgama Blog\" \/>\n<meta property=\"og:description\" content=\"Unity is a powerful and versatile game engine and with the right setup, it can produce highly optimized WebGL builds. While a default empty project may start around 7-8 MB, proper configuration and asset management can significantly reduce file size-making it possible to meet the strict load-time and size requirements [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\" \/>\n<meta property=\"og:site_name\" content=\"Playgama Blog\" \/>\n<meta property=\"article:published_time\" content=\"2025-09-10T14:45:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-03T10:04:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png\" \/>\n<meta name=\"author\" content=\"Kate Ilicheva\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kate Ilicheva\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\"},\"author\":{\"name\":\"Kate Ilicheva\",\"@id\":\"https:\/\/playgama.com\/blog\/#\/schema\/person\/d3a0e8ca9ffb979d45efdaf05cff8bbf\"},\"headline\":\"How to reduce empty Unity build size from 10MB to 2MB\",\"datePublished\":\"2025-09-10T14:45:31+00:00\",\"dateModified\":\"2026-04-03T10:04:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\"},\"wordCount\":716,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/playgama.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png\",\"articleSection\":[\"General\",\"Main\",\"Unity\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\",\"url\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\",\"name\":\"How to reduce empty Unity build size from 10MB to 2MB - Playgama Blog\",\"isPartOf\":{\"@id\":\"https:\/\/playgama.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png\",\"datePublished\":\"2025-09-10T14:45:31+00:00\",\"dateModified\":\"2026-04-03T10:04:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage\",\"url\":\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1.png\",\"contentUrl\":\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1.png\",\"width\":2508,\"height\":1300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/playgama.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to reduce empty Unity build size from 10MB to 2MB\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/playgama.com\/blog\/#website\",\"url\":\"https:\/\/playgama.com\/blog\/\",\"name\":\"Playgama Blog: \ud83c\udfae Insights, Tutorials, and Creative Inspiration for Game Development \ud83d\ude80\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/playgama.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/playgama.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/playgama.com\/blog\/#organization\",\"name\":\"Playgama Blog: \ud83c\udfae Insights, Tutorials, and Creative Inspiration for Game Development \ud83d\ude80\",\"url\":\"https:\/\/playgama.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/playgama.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2026\/04\/cropped-playgama-scaled-1.png\",\"contentUrl\":\"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2026\/04\/cropped-playgama-scaled-1.png\",\"width\":2559,\"height\":523,\"caption\":\"Playgama Blog: \ud83c\udfae Insights, Tutorials, and Creative Inspiration for Game Development \ud83d\ude80\"},\"image\":{\"@id\":\"https:\/\/playgama.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/playgama.com\/blog\/#\/schema\/person\/d3a0e8ca9ffb979d45efdaf05cff8bbf\",\"name\":\"Kate Ilicheva\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/playgama.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/47fe9d167eaad841057f1240979292e85bf6b8bf96f05302f1ac9524b8477e16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/47fe9d167eaad841057f1240979292e85bf6b8bf96f05302f1ac9524b8477e16?s=96&d=mm&r=g\",\"caption\":\"Kate Ilicheva\"},\"description\":\"SMM and Community manager at Playgama.com\",\"sameAs\":[\"http:\/\/playgama.com\/developers\",\"https:\/\/www.linkedin.com\/in\/kateilicheva\/\"],\"url\":\"https:\/\/playgama.com\/blog\/author\/kate-ilicheva\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to reduce empty Unity build size from 10MB to 2MB - Playgama Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/","og_locale":"en_US","og_type":"article","og_title":"How to reduce empty Unity build size from 10MB to 2MB - Playgama Blog","og_description":"Unity is a powerful and versatile game engine and with the right setup, it can produce highly optimized WebGL builds. While a default empty project may start around 7-8 MB, proper configuration and asset management can significantly reduce file size-making it possible to meet the strict load-time and size requirements [&hellip;]","og_url":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/","og_site_name":"Playgama Blog","article_published_time":"2025-09-10T14:45:31+00:00","article_modified_time":"2026-04-03T10:04:21+00:00","og_image":[{"url":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png","type":"","width":"","height":""}],"author":"Kate Ilicheva","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Kate Ilicheva","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#article","isPartOf":{"@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/"},"author":{"name":"Kate Ilicheva","@id":"https:\/\/playgama.com\/blog\/#\/schema\/person\/d3a0e8ca9ffb979d45efdaf05cff8bbf"},"headline":"How to reduce empty Unity build size from 10MB to 2MB","datePublished":"2025-09-10T14:45:31+00:00","dateModified":"2026-04-03T10:04:21+00:00","mainEntityOfPage":{"@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/"},"wordCount":716,"commentCount":1,"publisher":{"@id":"https:\/\/playgama.com\/blog\/#organization"},"image":{"@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage"},"thumbnailUrl":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png","articleSection":["General","Main","Unity"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/","url":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/","name":"How to reduce empty Unity build size from 10MB to 2MB - Playgama Blog","isPartOf":{"@id":"https:\/\/playgama.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage"},"image":{"@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage"},"thumbnailUrl":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1-1024x531.png","datePublished":"2025-09-10T14:45:31+00:00","dateModified":"2026-04-03T10:04:21+00:00","breadcrumb":{"@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#primaryimage","url":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1.png","contentUrl":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2025\/09\/1.png","width":2508,"height":1300},{"@type":"BreadcrumbList","@id":"https:\/\/playgama.com\/blog\/unity\/how-to-shrink-empty-unity-build-from-10mb-to-2mb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/playgama.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to reduce empty Unity build size from 10MB to 2MB"}]},{"@type":"WebSite","@id":"https:\/\/playgama.com\/blog\/#website","url":"https:\/\/playgama.com\/blog\/","name":"Playgama Blog: \ud83c\udfae Insights, Tutorials, and Creative Inspiration for Game Development \ud83d\ude80","description":"","publisher":{"@id":"https:\/\/playgama.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/playgama.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/playgama.com\/blog\/#organization","name":"Playgama Blog: \ud83c\udfae Insights, Tutorials, and Creative Inspiration for Game Development \ud83d\ude80","url":"https:\/\/playgama.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/playgama.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2026\/04\/cropped-playgama-scaled-1.png","contentUrl":"https:\/\/playgama.com\/blog\/wp-content\/uploads\/2026\/04\/cropped-playgama-scaled-1.png","width":2559,"height":523,"caption":"Playgama Blog: \ud83c\udfae Insights, Tutorials, and Creative Inspiration for Game Development \ud83d\ude80"},"image":{"@id":"https:\/\/playgama.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/playgama.com\/blog\/#\/schema\/person\/d3a0e8ca9ffb979d45efdaf05cff8bbf","name":"Kate Ilicheva","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/playgama.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/47fe9d167eaad841057f1240979292e85bf6b8bf96f05302f1ac9524b8477e16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/47fe9d167eaad841057f1240979292e85bf6b8bf96f05302f1ac9524b8477e16?s=96&d=mm&r=g","caption":"Kate Ilicheva"},"description":"SMM and Community manager at Playgama.com","sameAs":["http:\/\/playgama.com\/developers","https:\/\/www.linkedin.com\/in\/kateilicheva\/"],"url":"https:\/\/playgama.com\/blog\/author\/kate-ilicheva\/"}]}},"_links":{"self":[{"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/posts\/10996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/comments?post=10996"}],"version-history":[{"count":5,"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/posts\/10996\/revisions"}],"predecessor-version":[{"id":11981,"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/posts\/10996\/revisions\/11981"}],"wp:attachment":[{"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/media?parent=10996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/categories?post=10996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/playgama.com\/blog\/wp-json\/wp\/v2\/tags?post=10996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}