<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Echo</title>
    <description>The latest articles on DEV Community by Echo (@echolin).</description>
    <link>https://dev.to/echolin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4186109%2F4c62c0c0-4ad9-4ad7-b500-1cadf625421a.webp</url>
      <title>DEV Community: Echo</title>
      <link>https://dev.to/echolin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/echolin"/>
    <language>en</language>
    <item>
      <title>Slow Unity IL2CPP Builds Usually Come in Three Kinds</title>
      <dc:creator>Echo</dc:creator>
      <pubDate>Thu, 12 Nov 2026 02:16:45 +0000</pubDate>
      <link>https://dev.to/echolin/slow-unity-il2cpp-builds-usually-come-in-three-kinds-298h</link>
      <guid>https://dev.to/echolin/slow-unity-il2cpp-builds-usually-come-in-three-kinds-298h</guid>
      <description>&lt;p&gt;Reading through Unity forum threads about slow IL2CPP builds, I noticed people describe a few different problems with the same words. "IL2CPP is slow" can mean very different things, and the fix depends on which one you have.&lt;/p&gt;

&lt;p&gt;Before anything else, check that IL2CPP is actually the slow step. A player build also compiles shaders, and one developer on the Unity forums found that 3 to 4 hours of a build lasting over 5 hours was shader variant compilation, not IL2CPP. In the Editor log, the IL2CPP stages show up as "Compiling cpp for libil2cpp" and, on Windows, "Linking GameAssembly.dll".&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Only the first build is slow
&lt;/h2&gt;

&lt;p&gt;This is normal. Unity's incremental build pipeline reuses work from the previous build, and most of that cache lives in &lt;code&gt;Library/Bee&lt;/code&gt;. The first build has nothing to reuse.&lt;/p&gt;

&lt;p&gt;So the fix is to keep the cache, not to change settings. On CI, a runner that starts from a fresh checkout pays this cost every time, so persist &lt;code&gt;Library/Bee&lt;/code&gt; between runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Every build is slow
&lt;/h2&gt;

&lt;p&gt;This is the one settings can help with. For builds you iterate on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;set C++ Compiler Configuration to &lt;strong&gt;Debug&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;set IL2CPP Code Generation to &lt;strong&gt;Optimize for code size and build time&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;build only the architecture of your test device&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Both settings can make the game run slower, so keep them out of the build you ship. Unity also recommends excluding your project and build folders from antivirus scans and using your fastest disk, since IL2CPP does a lot of reading and writing.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Builds were fast and suddenly got slow
&lt;/h2&gt;

&lt;p&gt;This often means the cache stopped being reused and every build is a full rebuild. Things to check:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a build script or CI job passing &lt;code&gt;BuildOptions.CleanBuildCache&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;missing &lt;code&gt;ScriptsOnlyCache.yaml&lt;/code&gt; or &lt;code&gt;DataBuildDirtyInfo.json&lt;/code&gt; in &lt;code&gt;Library/PlayerDataCache&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;something outside Unity (a cleanup script, a sync tool) touching &lt;code&gt;Library&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some cases never get explained. In one forum thread where builds went from about 30 seconds to 20 minutes, the reply was that the cache was being cleared and nobody could tell why.&lt;/p&gt;

&lt;h2&gt;
  
  
  A rough decision flow
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbypre1k4pk6khdsw7qa0.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbypre1k4pk6khdsw7qa0.webp" alt="Flowchart for diagnosing a slow Unity IL2CPP build" width="800" height="1126"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have hit one of these, which one was it for you?&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(I used AI to help me write this up in English.)&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Sources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.unity.com/en-us/engine/6000.3/manual/programming-environment/scripting-backends/il2cpp/il2cpp-introduction" rel="noopener noreferrer"&gt;Introduction to IL2CPP — Unity Manual&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.unity3d.com/6000.1/Documentation/Manual/incremental-build-pipeline.html" rel="noopener noreferrer"&gt;Incremental build pipeline — Unity Manual&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://docs.unity.com/en-us/engine/6000.3/script-reference/unityeditor/il2cppcompilerconfiguration" rel="noopener noreferrer"&gt;Il2CppCompilerConfiguration — Unity Scripting API&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://discussions.unity.com/t/il2cpp-build-times/866043" rel="noopener noreferrer"&gt;IL2CPP build times — Unity Discussions&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://sharpedges.dev/fix-slow-unity-il2cpp-builds/" rel="noopener noreferrer"&gt;How to Fix Slow Unity IL2CPP Builds — sharpedges.dev&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>unity3d</category>
      <category>gamedev</category>
      <category>performance</category>
      <category>csharp</category>
    </item>
    <item>
      <title>Re-saving your textures won't shrink a Unity build. Here's why</title>
      <dc:creator>Echo</dc:creator>
      <pubDate>Tue, 20 Oct 2026 07:34:34 +0000</pubDate>
      <link>https://dev.to/echolin/re-saving-your-textures-wont-shrink-a-unity-build-heres-why-30be</link>
      <guid>https://dev.to/echolin/re-saving-your-textures-wont-shrink-a-unity-build-heres-why-30be</guid>
      <description>&lt;p&gt;I've been reading up on why Unity builds get so big, and the first thing I had to unlearn was the obvious move: build too big, so go re-save the art as smaller files.&lt;/p&gt;

&lt;p&gt;Turns out that barely does anything. Unity re-codes imported assets into its own formats, so the source file type doesn't matter. The &lt;a href="https://docs.unity3d.com/Manual/ReducingFilesize.html" rel="noopener noreferrer"&gt;Unity manual&lt;/a&gt; literally uses this example: saving a layered .psd as a .png makes no difference to the build.&lt;/p&gt;

&lt;p&gt;(Lowering the resolution is a different story, that one does count.)&lt;/p&gt;

&lt;p&gt;Two other things I didn't know:&lt;/p&gt;

&lt;p&gt;The Editor log already shows what's big. After a build, open the Console, click the ⋮ menu, Open Editor Log. You get a size breakdown by asset type and then every asset sorted by size. Seems like the place to start before touching any settings.&lt;/p&gt;

&lt;p&gt;And "build size" isn't one number. The Editor log report, the APK/AAB on your disk, and the download size on Google Play are all measuring different things. Players get a &lt;a href="https://developer.android.com/topic/performance/reduce-apk-size" rel="noopener noreferrer"&gt;device-specific APK&lt;/a&gt; built from your bundle, so it's smaller than what you upload. Easy to compare the wrong two numbers and think nothing changed.&lt;/p&gt;

&lt;p&gt;There's more (Resources folder, compression settings, code stripping, Play Asset Delivery). I wrote it all up with tables and links to the docs here if you want the longer version: &lt;a href="https://sharpedges.dev/reduce-unity-game-size/" rel="noopener noreferrer"&gt;How to Reduce Unity Game Size&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;What was the biggest thing in your build when you first checked the log?&lt;/p&gt;

&lt;p&gt;(I used AI to help me write this up in English.)&lt;/p&gt;

</description>
      <category>unity3d</category>
      <category>gamedev</category>
      <category>android</category>
    </item>
    <item>
      <title>Hi, I'm Echo, Learning How Games Actually Get Shipped</title>
      <dc:creator>Echo</dc:creator>
      <pubDate>Thu, 15 Oct 2026 07:42:57 +0000</pubDate>
      <link>https://dev.to/echolin/hi-im-echo-learning-how-games-actually-get-shipped-571i</link>
      <guid>https://dev.to/echolin/hi-im-echo-learning-how-games-actually-get-shipped-571i</guid>
      <description>&lt;p&gt;Hi everyone, I'm Echo.&lt;/p&gt;

&lt;p&gt;I'm interested in a part of game development that doesn't get talked about as much as gameplay or art: what happens to a game between "it runs in the editor" and "players download it from a store."&lt;/p&gt;

&lt;p&gt;That part turned out to be much less obvious than I expected. A few questions I've been reading about:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Why can a mobile game show a high FPS number and still feel choppy?&lt;/li&gt;
&lt;li&gt;Why does a build end up so much bigger than the project folder suggests?&lt;/li&gt;
&lt;li&gt;What does the player actually download, compared with the file you upload to the store?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm mostly learning from the official Unity and Android documentation, plus discussions from people here and elsewhere who have shipped real games. The docs answer a lot, but they're spread across many pages, and it's easy to mix up which page says what.&lt;/p&gt;

&lt;p&gt;So this account is where I'll write up what I learn: short posts on one question at a time, with links to the docs behind each point so you can check them yourself. Corrections and "that's not how it works in practice" comments are very welcome.&lt;/p&gt;

&lt;p&gt;If you work on mobile games, I'd love to hear what part of building or shipping confused you most when you started.&lt;/p&gt;

</description>
      <category>introduction</category>
      <category>gamedev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
