I am happy to announce that MicroTown is finally ported away from Unity to MonoGame!

MonoGame is a lightweight pure code game framework. While Unity is a full game engine with all the bloat that comes with it. In short, this transition was not straight-forward and I have been planning it for about 3 years. A lot of it involved creating new tools and code libraries.
While working on this, I established a "content freeze" - only changing things required for porting. So this update has no "real" new content, but a LOT of changes. This unfortunately partly affected previous updates and schedule too, because it was necessary to keep the port stable. Since I couldn't implement a new feature and then "transfer" it into the ported branch without making it so messy that I would never finish it.
Why?
So why port? This is a very legitimate concern given how long it takes (and what it does to game's release schedule). The game is about 350 K lines of code (it's not a great measure, but it gives some idea of scope). So there should be a good reason.
So I really dislike Unity nowadays. Every other decision they make caters to mobile ad-driven games and less and less to indie developers like me. Their main engine remains slow and outdated with vague promises every year that aren't being fulfilled. Instead, it's endless bloated half-baked features. And then there's "meta" stuff like retroactive TOS changes, attempted runtime fee imposing, purchasing literal spyware companies, golden parachute CEOs, accounts getting blocked, and so on. And that's not even talking about technical stuff like unskippable splash screen, lack of dark theme, forced analytics, broken package updates, etc. Now they are apparently in talks with dubious investors. It seems the only way Unity ever does anything good is after a major backlash. Meanwhile, actually developing a game is an endless slog of recompiles, asset imports, unfinished, buggy and intrusive features, version breakage, outdated compiler/languages issues, etc. It is seriously challenging to not have this entire post be just me complaining about Unity.
So the TL;DR is: I really dislike Unity. I just want to make games; I don't want to deal with all of this baggage. One of the biggest obstacles to solo development is motivation. And nothing is less motivating than spending 2 hours dealing with some Unity issue rather than actually working on the game...
Why not?
Porting is a big job to put it mildly. So this was a big decision that I did not take lightly.
MicroTown is thankfully very code-centric - most of its logic runs from pure code and "only" certain things rely on Unity. The problem is that those things REALLY rely on it. UI was fully Unity. Assets (like building properties) and editing was fully Unity + plugin. Publishing and platform support was Unity. Most custom live debugging was using Unity editor interface. Profiling used Unity built-in tools. Tests ran in Unity harness. And many many other small things.
In short, there is a lot to do.
Now, as an indie developer, creative suffering is just part of the package. So I could have just accepted the engine troubles and powered through. The real problem here is that we are at the point where it is seriously impacting the actual players and the game that I deliver. So I can't take this anymore. Whatever pain porting brings, it's better than going on with Unity.
What needs porting
Half my problems with Unity are that I am tied to the engine by the specific ways it does things. So to not repeat this mistake, the last thing after porting I would want to do is to start relying on other libraries in the same way. Even when they are open-source and maintained. Having been burned by Unity this badly, my goal was to absolutely minimize what I depend on. Now obviously, I need a game framework or engine so I have to depend on MonoGame. However, it is open-source, portable and already has multiple forks. Worst case scenario - porting to a sibling engine would be a much simpler process.
So the major things that I am porting that go beyond some rewiring:
UI - all the user interface, HUD, windows, layout, text, etc.
Data - definitions/properties/setups for everything - buildings, items, weather, bonuses, needs, achievements, effects, etc.
Data editing - editors for the above data with validation, explanations, custom layouts, etc.
Rendering - pipeline for "getting the sprites on the screen", shaders, low-level graphics
Spritesheets - sprite atlas packing, editing, assigning, rendering, preview
Fonts - building, packing, rendering, scaling
World generator preview - all the visual development tools for map generation
Input - keyboard and mouse input processing, mapping to actions, in-game and UI
Testing - automated unit/regression/integration/chaos tests for everything, mostly world logic
Publishing - game building into a final per-platform "package" uploaded to Steam
Error reporting - automatic anonymous crash report to developer console
I wish I could say Unity provided all of this nicely, but they really don't. UI was a mess. Engine editors were slow I used a paid plugin anyway. Input was outdated and broken and I used a paid plugin here too. Rendering did not support low-level 2D rendering. Testing was atrociously slow and messy. Even basic things like atlas packing was rudimentary.
And this is not mentioning dozens of small things that Unity doesn't even provide like Steam integration.
Meanwhile, the things I don't need to port are:
Game world logic - this is 99% code and this is 50% of the game.
I'm not going to cover every part in the following sections (this post could go on for days). But I will summarize what I think are the most important points.
Testing
I love writing unit tests - small pieces of code that test some specific functionality, like "Lumberjack chops only a grown tree it has enabled".
Unfortunately, this is just going to be another section complaining about Unity - because tests in Unity are ridiculously slow. To the point that I never ran them because I have to wait like 15 minutes after making every tiny change (and I cannot during this time as any changes will cancel tests). This also means I didn't write new tests because I knew I won't even run them.
Furthermore, Unity was running the editor extremely slowly (in addition to what I cover in performance section). Which meant that actually playing game worlds, especially bigger ones where more issues happen, was almost impossible. A world with 2000 villagers would run at like 2 FPS. If I then have to reproduce some 20 step problem in a world like this, I am often literally unable to do it. So even more testing and fixing went undone.
And now porting touched some rare but specific parts of the game (like precise frame timing) that required me to do a lot of preliminary testing to make sure things don't break in between. This means I wrote a lot of tests that were extremely slow to design and run, but provided me a baseline stability check.

As a side effect, this actually caught a lot of bugs. And not like small glitches, but fatal crashes and unrecoverable save corruption. So this update features a whole slew of bug fixes. Most of these I could not even fix earlier in Unity even if I knew about many edge cases because I couldn't really test that they wouldn't create an even worse impact. So I needed to wait until I was confident in the full test suite, which meant having exhaustive tests.
Just to give a scale, I currently have about 2,000 unique tests that run about 35,000 test cases, which is a very large number for video games. They run for about three minutes. These are primarily "simulations" in that they check something in the world - arrange things in a certain way, do a certain action, and then expect a certain result. Because MicroTown is such a complex simulation, despite its simple looks, this has basically become the only way to assure everything works.
UI
So: UI. I would say about 50% of the work was converting Unity UI (UGUI) to a different UI framework. This was a humongous task.
For this - after a lot of research - I chose the open-source Gum UI library. It's not perfect but the game development landscape is such that there just aren't that many UI engines available and most are bare-bones even compared to UGUI. It's a very complicated and finicky piece of software to develop. There are also so many ways to do UI and everyone's doing their own thing. I agonized over choosing a library or writing my own or staying on Unity or picking an engine with UI like Godot for the longest time. Whatever I would do, it is a highly-intertwined dependency and I cannot avoid it.
I also have hundreds of UI components with thousands of elements. The game is fairly UI-heavy even if it doesn't really seem that at first glance. If you just consider all the different building types and all the different things that buildings can show - that's like two dozen different inspection sections each with their own labels, buttons, progress bars, and so on, all positioned and adjusted on the fly.
So, first thing's first: UI has completely changed to a new theme:


While this might sound like a lot of work, it's actually counterintuitively less work than preserving my existing UI sprites (see section on theme editor). What I did is I consolidated all elements to follow a single top-down design. This means consistent graphics, controls and style across the whole UI. A lot of things got a new look. It's mostly more "crisp" than it was.

I tried to restore the new UI to a very similar layout as before. Or rather I didn't unnecessarily change anything for the port. There are many things that I wanted to adjust, but it was more important to just get it done. But there are still many small things like alignment and interactions and feedback that will differ.

Unity had no way to render UI at a proper scale while having smooth fonts. This caused all manner of problems. All my UI was pre-created at 2x scale so that I could place smooth fonts on top of it.
The font rendering is also improved. I'm still using the same font and it's a subtle change, but the font is now crisper and more readable, with less blurry parts and less translucent parts.

I should mention that I also attempted to make my own UI framework, but eventually gave up on it. There's some heavy sunk cost fallacy here. But it's just such a complicated and big piece of software that I don't think I'm willing to do this at this point.
Performance
Queue another Unity rant. I honestly thought I was squeezing some pretty good performance from MicroTown as I've been optimizing everything over the years. However, no matter how many milliseconds my frame target was, Unity always added some invariable overhead with the engine stuff. I just never realized how much.
Now, I actually measured the difference: playing a small world went from 383 FPS to 911 FPS, and a large world went from 48 FPS to 130 FPS.
Which is just crazy to think about! I have spent literal weeks on optimizing certain features to squeeze out like 0.3 ms per frame. And then "simply" moving to a different engine doubles-triples my numbers. At this point I'm so fed up with Unity that I'm not even gonna try to figure out why it was so much slower. (I'm sure it's mostly their really old outdated Mono C# compiler plus lots of overhead.) And I haven't even optimized anything further yet!
This jump is really huge because the game was always running "on the edge". With 1000 ms, there is a 16 ms "budget" to run at 60 FPS. So if the game in a big world ran at 14.7 ms per frame but now it runs at 6.3 ms, that means there is now a buffer of 10.3 ms versus 1.9 ms. This actually makes a huge difference in how it feels when approaching the "critical" FPS limit.
Unity had a 4.6 ms engine overhead versus 0.6 ms on MonoGame. Even my super-optimized sprite rendering still dropped from 0.9 ms to 0.55 ms. Heavy UI windows dropped from 1.6 ms to 0.7 ms.
I did not expect to gain as much performance as I did. I mean, this alone could have sufficed as a reason for porting.
Improvements
During porting, I made sure to not simply replace systems that stopped working or worked poorly, but to actually improve them. This obviously costs more time. But - if I'm going to change everything, then I might as well change it properly. This resulted in a bunch of improvements that were not strictly speaking part of porting, but which porting either enabled or at least made worthwhile.
Controls
One of the most requested features has been control rebinding. And I'm happy to announce that it is now implemented as part of input system change:

I had to completely re-implement the entirety of the input system, including all the things like holding buttons, repeat clicks, dragging and so on. This meant I could preempt that I would need input-to-action mapping that I could change and save/load.
Options
The options menu in general got a bunch of improvements, mostly because many of these options interact with the engine in weird ways that a player might never think about. For example, you can now choose the monitor and the game remembers it.

Error reporting
Unity had their own crash reporting system (with lots of issues). It is extremely helpful for fixing exceptions and bugs. I think about half the bugs and crashes that I fix are solely based on these reports. Most players are not going to report these themselves, nor would I expect them to invest their time for this. So, I needed something to replicate in MonoGame. I ended up using Sentry service. This is another dependency, however it is something that I could easily swap out. It's essentially just a network call to send over the exception information.
One quirk of Unity was that it quietly allowed any exception to continue running the game. The big problem with this is what happens if an exception occurs in a chain of events in the game world. For example, a carrier drops an item at a building. But let's say placing the item on the ground causes an exception and this skips the rest of the frame for the world. This means the item never arrives at the building, but it might be in a "I am at a building" state. This has the potential to just crash everything later. It would more than likely corrupt the save file.
I also implemented better safeguards against crashes while saving and loading.
Data editor
So MicroTown has a lot of data assets. Specifically, about 1400 data files for some 70+ "types":

Since Unity provided all the data-storing assets and data editing interface, I had to completely re-implement all of this. I mean technically, it's just a long list of values. The problem is that I have to actually edit them, find them, validate them, remember what they mean 5 years later. So a big decision I made is to make my own application for asset editing:

This can do all the things that helps one edit the assets. For example, I can add custom comments to everything:

And importantly, it can validate against the rules that I set up for each value:

There are also tons of features to make my life easier for many mundane tasks, for example previewing and validating text tag formatting:

This application is something I could talk a lot about, probably an entire update post just about this. I have been planning making this for years. It was also basically a mandatory step to migrate from Unity's assets, as I had to convert all the data to using this in Unity first.
Profiling
One of the things Unity provided is profiling. However, it was nowhere near as good for 2D games that don't actually use all that 3D rendering and Unity engine object stuff. So moving to a pure .NET C# backend with the latest versions allows me to fully utilize the latest profiler tools as well as run benchmarks in ways that I could never in Unity. I've been building and implementing various tools to help me out and measure things properly like a live performance ticker:

Chaos testing
In one of the previous updates, I demonstrated my "simulation runner" working in the real game testing various scenarios. Unfortunately, with Unity's limitations and there just being so many permutations of what could happen, it didn't really produce many results even as I left it running for literal weeks - saving, reloading, and triggering every action a user can take or could happen in the world. Like one in a billion things that the player would never see. And this still did not catch many elusive bugs. Bugs that don't cause obvious crashes would go unnoticed and/or unreported by players.
So one of the things that I can now do is run the game in debug mode (which means I can catch and examine exceptions) at a reasonable speed. Which means some of the tools that I already had now run much much better. Not only can I run the chaos tester well, I can even add more expensive additional checks, for example whole-world per-frame invariant validation such as "only live units have task assigned or only grown animals can be leashed and so on".

So I can leave multiple copies of the game running for a night or two looping this, and it will basically randomly trigger tens of thousands of combinations of things that would hopefully catch any common and no-so-common bugs. I can also run this without graphics like 100 times faster than in Unity and I have already caught dozens of bugs through various means.

Texture work
It's fairly difficult and really inefficient to work with textures directly in Unity. So something I can do now is make various little libraries to implement specific logic that I might need. For example, here are outlined arc-based filling of nine-sliced sprites pre-allocated into a sprite atlas:

I know it's a word soup of technical terms and it would take me like an entire update to talk about everything I want to talk about. But trust me - it's really cool. This is the sort of thing that costs a lot of performance unless you do it right.
Theme editor
Another application I made which is really useful for me now and in future is a UI creation theme editor of sorts. Basically this allows me to programmatically define visual UI element appearance starting from a few high-level values like colors, and then progressively alter the appearance towards what I want for each element and variant. As an output it generates ready-to-use UI sprites that I just plug in the game and can regenerate at will.

This saves an immense amount of drawing time, especially as MicroTown had accumulated hundreds of individual UI pieces. I didn't quite appreciate the amount of UI I would be doing over the years. Now, whenever I'm missing some feature or one different appearance, I can just add it as part of generation.
It was of course a huge job to transfer MicroTown old UI into this and then make everything fit in the new layout. However, this also unlocks a lot of opportunity for improving UI without arduous drawing work. For example, I can easily define variants of an element:

Because these are derived values, if I change the base appearance, then all the variants will also adjust themselves accordingly. With live preview, this makes working and especially making new UI much cleaner.
Admittedly, I'm not able to manually draw various additional decorations on these controls (not that I had many). So these would be extra features to implement. However, I think the new crisper look is also perfectly fine.
World generator preview
I had done all the world generation preview rendering with Unity's rendering and editors in a separate Unity project. All of this broke completely upon porting. Now, because this was "just" preview, I don't actually need this to run the game. However, it is absolutely essential to make future changes to map generation, like adding new biomes or placing new objects. So in short, I had to port all of this. Half the time I didn't even remember what I did originally. For example, I added legends to remind me for my own sanity to every generation pass:
Downsides
Now, let's talk about some downsides of porting something like this. I won't repeat all the features that I "lost" from Unity because technically it's rather that I replaced them and the only thing I lost is time (and sanity).
First of all, obviously, I'm going to break some things. I'm sure there are new bugs, glitches, performance, compatibility issues, and so on. And yet I think long-term it is most definitely worth it, no question. But it's also not a "port and forget" kind of thing and I will have to work on it to get it stable.
macOS 12.0 is now the minimum supported version, because pretty much all dependencies don't go lower (in fact, Unity doesn't as of this year either).
Rendering changed from Direct3D 11/12 to OpenGL on Windows. On macOS this means from Metal to OpenGL, which is technically deprecated there, although it should work fine for now. However, the game does support Silicon natively now in addition to Intel, so it should work better/faster. On Linux from Vulkan/OpenGL to OpenGL. OpenGL is now version 4.1 (with fallbacks) however the actual requirements are at least 3.3 (needs GPU instancing). All of this should have little practical difference for most people, but some weird graphics cards or drivers might have issues.
I do plan to support Vulkan for Macs (MoltenVK) and Linux at some point, but this needs MonoGame to support it better first.
On the other hand, MonoGame and .NET versions are now much higher and more robust, so it should actually improve Mac and Linux support. The game also technically runs on Steam Deck, even if the controller support isn't native.
Saves should upgrade and remain playable.
I know this is not ideal in case the new version doesn't work for someone, but I left the last Unity version on a separate "lastunity" branch on Steam, so it can still be accessed. It should not stop working, but I won't make any further changes to it.
Sheep Loop
I have been working on a small incremental game in parallel. While porting and before, I have been developing systems and libraries and then testing ideas and implementations for them. I then "sync" these up between the two games to create reusable independent libraries for various parts. Notably big ones, such as saving, input, spritesheets, asset editing, window manager and so on. Because I would have had to create test projects for all these systems/features regardless, then I might as well "prove" it with a real game with a much smaller code base where it all works together before I start ripping apart huge code parts of MicroTown.
For example, I made sure to thoroughly test and understand the UI system that I'm going to use before beginning porting it to MicroTown.
This also gives me a nice "excuse" to work on something other than MicroTown. I have not worked on anything else except it for years and one of the biggest reasons is because I consider this unfair to early access players. But in reality I have done more work for MicroTown while porting under "Unity-inspired motivating circumstances" than I had in many periods prior.
Because Sheep Loop shares all the libraries with MicroTown, it is essentially the same backend. So any internal issues that are not gameplay would apply equally to both games. Long term, this is a very beneficial arrangement for stability because I am essentially building my own game engine of sorts from smaller pieces. The difference is that I'm in control of them all. And any updates I make I can immediately transfer to the other games as well. MicroTown got a lot of extra usability features just because I was (re)writing these libraries, like control remapping for example.
I feel cheap saying this, but you can support MicroTown by supporting me by supporting Sheep Loop. And hopefully this update shows that I'm still working on the game, regardless of what other parallel projects I might be doing.
Future plans
I think the biggest upside of the port is a renewed motivation for me to work on the game. My time has been somewhat limited to work on games. After so many years to still work on the same game is really difficult mentally. So a big shake-up like this is really welcome. This port should make everything faster: prototyping, testing, editing, shipping.
So for the immediate future. First of all, for now I am going to watch MicroTown for any issues to see that it works "in the wild". I will hold off on completely new features for a little bit.
Secondly, I am going to finish and publish Sheep Loop. It's not going to early access, so it's going to be version 1.0.
Next year, I plan to make further MicroTown content updates. And I know I said several times that I need to push the game to the 1.0 release, but life has had different ideas. But I'm cautiously optimistic that I can focus on bringing MicroTown to release.
That said, I have a ridiculous backlog of TODOs - feature requests, ideas, issues, balancing tasks, etc. I have collected these from forums, Discord, reviews, and many personal notes. I'm keeping a list of them all and there are like 700 of them. I will obviously never be able to do them all. So I'm picking and choosing a balance of the best features for both the game's vision and usability. We'll see how it goes.
Full changelog
• The game now runs on the MonoGame engine instead of Unity
Changes
• Most UI controls have been redrawn into a new theme
• Many UI parts have been visually (non-functionally) adjusted, primarily layout, positioning, presentation, etc.
• Interface text is clearer at the smallest UI scale
• Rework options windows into a single window with tabs
• Options changes can now be discarded instead of only applied
• Add control rebinding in the Options window's Controls tab (replacing the guide)
• Tooltip key hints now reflect actual bound inputs
• Update credits windows and place button in main menu
• Music is muffled while paused
• Add an Interface sounds toggle and volume slider
• Add a Monitor selection to Graphics options
• Tooltip entity icons are now the shrunk version of their full icons rather than in-world icons
• Add a Glassblowing goal to craft glass items
• Add a Mining Tools goal to make Mining Tools and quarry with them
• Add a Conservation goal to tend Animal Habitats from a Game Warden's Lodge
• Loading screen to show a proper progress bar
• Loading and starting game fades the menus/backdrop properly
• The goal list expands down before scrolling
• The manual UI scale options are now properly named 2x, 3x...
• The mouse wheel now zooms toward the cursor instead of the screen's center (a new option in Gameplay can toggle this)
• House Reserve bar now drains instead of filling up
• Change Mining Tools goal's quarrying count to a pickaxe icon instead of a duplicate Mining Tools icon
• Changing the volumes in Audio options now plays a preview
• Mixed Warehouse, Mixed Granary and Mixed Barn now distribute their items proportionally instead of randomly
• Building with multiple production items (like Sawmill with Saw Horse + Planer) now pick the next item proportionally instead of randomly
• Remove the tooltip update frequency option, tooltips now update immediately
• Game exceptions/crashes now stop the game with an error window instead of carrying on in a broken state
• Icons now have a new outline rendering system
• Particle effects now have a new back-end system
• Background processing (task assignments and pathfinding) now runs in step with the world updates and doesn't desync
• On game start, delete any old Unity version's leftover files from the save folder
• Closing the game's window while playing now asks for confirmation instead of instantly quitting
• The frame rate cap now defaults to the monitor's refresh rate
• Weather sprites (rain, snow) now fade in/out instead of continuing to screen's edge
• Remove the now-incompatible -hardwareCursor launch option
• A construction - deconstruction swap keeps its priority
• HUD windows (tech tree, Micropedia, etc.) now block world input while open
• Disabled camera dragging still allows Road dragging
• Remove the "Brief" goal HUD display option, which acted the same as "Full"
• Builder limit at 0% now completely stops villagers from becoming builders
• Save upgrade summary now also shows for props, tiles, items, units and roads
• Failed autosave now retries
• On Linux, save folder moves from Unity folder to ~/.config/Snowy Ash Games/MicroTown (copied at start)
• Road construction builders can now fetch their own building materials if a carrier is not available or efficient
• Add Space as an alternative keybind for pausing
Fixes
• Fix locked and deconstruct-only buildings being buildable from the construction menu while none of them existed under certain conditions
• Fix Road (de)construction priority only applying already waiting steps (and not to following steps)
• Fix builders going to the first (de)construction site they came across instead of the highest priority
• Fix Lime being unlocked by Quarrying alone, before anything could use it (it now needs Leatherworking too, like Lime Mine)
• Fix Stone Mine, Coal Mine, Iron Ore Mine and Lime Mine production recipes being hidden in tooltips until Mining Tools was unlocked, although mines work without Mining Tools; they now show without the tools until then
• Fix Butcher and Poulterer reporting only some of their needed auxiliary buildings missing when all of them are
• Fix Sawmill and Quarry still taking Logs and Mining Tools with all their production toggled off
• Fix buildings permanently stopping work when one of their products was toggled off while an auxiliary building was making it (such as Butcher Hides on the Butcher's Table or Smokehouse Roasts on the Drying Rack)
• Fix workers with disabled worker slots still finishing their job (such as a Sawmill worker still putting its Log on the Saw Horse)
• Fix workers leaving their job when their target delivery building changed the item
• Fix a Smith with one worker using only its closest Forge ignoring other Forges even if they had different items to produce
• Fix Forester planting over Felled Trees (losing their logs)
• Fix villagers out of view working about 20 % slower than the ones on screen (due to optimization quirks)
• Fix Mixed Storage buildings workers not handing out any items while the first item's stack was empty
• Fix Large Storage buildings handing items to whichever building they found last instead of expected priority
• Fix Export Station, Shops and Mixed Storage buildings not distributing items evenly if the planned deliveries were cancelled
• Fix items dropped onto a building's stock showing the wrong pile size
• Fix Import Station taking imported items to a Storage buildings before production buildings needing them
• Fix Import Station clear non-imported button keeping items turned off on the Route to it
• Fix Export Station sometimes never shipping again after a shipment item or Route was changed or removed mid-delivery
• Fix Export Station courier waiting to collect items with nothing to collect while the station had items to ship
• Fix turning an item off on Export Station Route not stopping its shipments
• Fix Export Station item turned off on a Route staying off on that route after its shipment slot was changed to another item and the item added back later
• Fix Export Station without a Route not reporting it when its shipment items come from different buildings
• Fix a Houses near several Taverns drinking from each of them, same as pens near several Livestock Feeeders or Bird Feeeders
• Have buildings with multiple production not start and throw away production for full outputs (e.g. Loom throwing away Linen Fabric)
• Fix Crops (Wheat, Barley, Potato and Hemp) growing in early Winter
• Fix other plants (Carrot, Tomato, Cucumber, Herb, Seedling and Sugarcane) growing in Winter
• Fix Crop and Tree tooltips showing wrong halted progress in Winter
• Fix a new game's first Season not applying its effects immediately
• Fix new plants and other props sometimes being placed over existing ones on a tile that has changed, like grass growing back
• Fix Felled Trees often landing on the tile next to their Stump mismatching selection
• Fix wild Animals spawning up to 4 tiles from their Animal Habitat instead of 2, more often on one side
• Fix stray wild Animals joining an Animal Habitat already at maximum animals
• Fix Game Warden's Lodge workers by an Animal Habitat next to water heading for a water tile instead of tending it
• Fix Fisherman's Hut workers not avoiding standing inside a building on the shore
• Fix grown Pigs that wandered into a Livestock Pen by themselves never being taken to the Butcher
• Fix Goose taken to the Poulterer being left at the poulterer instead of in its Poulterer's Pen
• Fix Cow and Sheep unattaching from their Livestock Pen while being milked or sheared
• Fix Livestock Feeder and Bird Feeder still feeding nearby animals while empty
• Fix auxiliary buildings sometimes skipping work when one of their inputs had no item
• Fix villagers starving in a House with Food before villagers in a house without
• Fix starving villager count being miscounted after a villager moved into a House without food
• Fix the Roads and Hauling Goals completing only once something else goal-related changed
• Fix items that buildings restocked while an older save was loading not being found where they lie (they couldn't be selected or swept and didn't stack with other items)
• Fix loading old saves with now-locked entities behind Technologies not removing those entities from worlds where they were already built
• Fix buildings losing their production toggles when a load rebuilt them
• Fix Export Station Routes going back to the default weights when a load rebuilt them
• Fix ground items (such as a deleted House's Reserves) not being drawn or drawn as the wrong stack
• Stop Rain splashes from appearing on top of buildings
• Fix new worlds (mostly tiny ones) sometimes not having Iron Ore Deposit, no Coal Deposit or no Fish Animal Habitats
• Fix builders having worker shirt while clearing props; and carriers while leashing animals
• Fix villagers in loaded saves having worker shirts instead of their profession
• Fix seams (thin dark lines) showing between tiles while zooming and panning
• Fix an error when closing the item distribution window with the mouse over one of its rows
• Fix Objective Complete window not pausing and letting through potential glitchy UI interactions
• Fix the game window not remembering it was maximized
• Starting the game now properly restores the window size/position and remembers this choice per device
• Fix an error when quitting the game while a new world is being generated
• Fix new worlds (mostly tiny ones) sometimes placing the Tent next to Clay or Sand that can't be built on
• Fix villagers never trying the newest, lowest-priority jobs with a specific internal index
• Fix a job whose priority changed keeping its old queue position
• Fix swept items retaining their "swept" flag, so they were then carried out of storage first
• Fix HUD overview's pending deliveries count issues
• Fix construction materials not selecting the oldest site in queue
• Fix carriers delivering an item beyond their max delivery range when grouped with ones within it
• Fix a Brewery with two Brewing Vats throwing away the second item when its output had room for only one
• Fix buildings with changed work area still doing the next task in the old area
• Changing self-delivery for buildings now properly informs workers already waiting at their buildings
• Fix residents of a House that ate its last food not counting as starving until something else changed
• Fix new worlds sometimes not having a proper number of Animal Habitats
• Fix Stone Deposits, Coal Deposits and Iron Ore Deposits holding fewer resources near the middle of their clump
• Fix Moss transitions not triggering until a Tree on that tile changed
• Fix Butterflies trying to spawn twice when a world starts
• Fix a pipetted Road site's construction priority not being used
• Fix a pipetted building getting some of its production toggles wrong
• Fix Shift-clicking a building in the construction menu alternating between two groups instead of visiting every group
• Fix autosaves running while the game is paused
• Fix inspection not updating when entities on a tile are replaced by the same number of similar entities
• Fix a Fisherman's Hut worker stuck waiting for a Fish that swims off
• Have Lumberjack prioritize Felled Trees over felling new ones
• Fix builders leaving their construction site when the building with material changes
• Fix workers leaving their job when their building's selected item changes
• Fix turning off building's production not stopping a Large Warehouse or Import Station from bringing it inputs it no longer needs
• Fix Hunter's Lodge hunters killing Animals beyond collection range where its Carcass was never collected
• Fix builders without materials waiting for minutes instead of intended seconds at a Road site before moving on
• Fix Farm farmers walking to rotten Crops
• Fix interface sounds sometimes using previous panned audio effect side
• Fix the game staying sped up after holding Tab while opening the pause menu
• Fix road dragging placing road while game gets paused
• Fix some cases where the tutorial's arrow staying on screen after the tutorial was completed
• Fix production toggle's tooltip naming the same product multiple times
• Fix storage transit button tooltips not formatting text properly
• Fix the tutorial's "Farming unlocked" step coming up after the tutorial's last step when Farming was researched after another tech
• Fix the main menu background's alignment
• Fix Clay Pit and Sand Pit keeping a visual piece of their construction site after being built
• Fix storage buildings showing an item's world icon after item was cleared
• Fix worker carried item drawn with an offset after pulling a cart before
• Fix building flags not rendering from start
• Fix constructions markers beign rendered multiple times on a selected Road
• Fix path-finding sometimes missing a shorter path along Roads
• Fix various interaction with save slots when those slots have invalid save data
• Fix a Route being addable to a Export Station marked for deconstruction
• Fix tutorial's extra worker step not completing when the worker is added to a second Gardener
• Fix Goals not appearing at once after the preceeding goal completes
• More buildings properties are carried over when loading a save where buildings need to be redeployed
• Fix Shops picking up items from the ground for a disabled item slot
• Fix "No Item Destinations in Range issue" not working correctly for mixed Storage buildings
• Fix play time shown in save slot not showing time over 24 hours correctly
• Fix "Reserved for tasks" count in item tooltips
• Fix long music and weather tracks changing late if the game goes into the background
• Fix a Storage building's item sign staying if the building was removed while another storage building was selected
• Fix Dirt under a pile of items not regrowing even after the items are gone
• Fix a Tavern or Livestock Feeder still being used while being deconstructed
• Fix an upgraded Road not using the materials already lying on its tile
• Pipette now also copies Shop's disabled sales and carrier deliveries and an Export Station's shipment size
• Fix buildings skipping auxiliary production turns if the worker task skips it
• Fix hidden UI showing again at autosave
• Fix starting a new game with all techs unlocked changing the remembered tutorial choice to "No"
• Fix generated world woods only spawning one kind of Tree on tiles where kinds overlap
• Fix minor path-finding step cost inconsistencies like villagers taking a different way there than back or small detours
• Camera zoom now takes the same time at any frame rate (it was instant at 30 FPS and slower at high frame rates)
• Houses now properly request Reserve items one at a time after loading a save instead of item stack maximum
• Fix the tutorial arrow not pointing at buildings still under construction (basically always)
• Fix some Goals showing the wrong amounts in description
• Fix saving sometimes failing with an error because recently queued tasks were saved twice
• A failed save no longer removes the current save file - the previous save is kept and a message tells saving failed
• Fix errors in auxiliary building construction, operation location and shipping target modes when their building is destroyed, deselected or replaced while the mode is active
• Fix construction materials with delivery proportions (Iron Ingots for the Monument) only being delivered to construction sites when no building wanted them
• Fix storage buildings losing track of pending deliveries for their remaining items after clearing a selected storage item
• Fix road upgrade tooltip listing the road's construction cost as its reclaimable materials instead of what deconstructing it returns
• Fix mixed storage and station indices getting out of sync with their selected items when a selected item is cleared or changed, which leads to compounding errors
• Fix the game getting stuck in a half-closed world, throwing errors every frame and unable to exit or load, when an error happened while exiting to the main menu or loading a save
• Buildings no longer misfile items into their first stack when asked about an item they don't hold (this now triggers an exception immediately instead of causing compounding errors later)
• Redeploy buildings from older saves whose item slots didn't match
• Fix a rare error that broke a unit's animation when starting its new task failed partway, which then errored every time the unit started moving
• Fix a possible animation error after loading a save where a unit's command had to be cancelled
• Fix goal HUD location not allowing world interaction even when no goals are visible
• Fix an error when clicking unwired links in some Micropedia descriptions, such as techs, seasons and weather
• Fix a rare out-of-bounds error from rain at the edge of the map
• Disable highlighting the mouseover tile (and any related visual) when the mouse is over UI/HUD and not selectable anyway
• Fix several entities showing wrong sprites
• Fix an error when viewing some Micropedia entries listing storage buildings that can store many items
• Fix minor visual progress difference for road construction not counting progress for material use
Balancing
• Automated production steps (kilns, vats, ovens, the Windmill) and builders waiting at a site now take their full time instead of slightly less (about a second was cut off)
• Storage buildings and Shops now plan up to 12 deliveries from 8
Optimizations
• The game runs significantly better under most scenarios
• Lesser lagspike when saving
• Many windows now open and update faster
• The game starts faster now
• Game transitions are less laggy now
• Fix memory leak where every delivery would stay recorded until reload
