Skip to main content
GameDev.net gamedev.net
Developer Blog

This is a developer's personal perspective or experience. Views expressed are those of the author.

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Catlike Coding Unity
Catlike Coding Unity Blog
· 2 months ago

Hex Map 5.4.0 New Map Generator

Briefing

Catlike Coding Unity details a Hex Map 5.4.0 refactor that starts modernizing map generation for a future Burst-job pipeline. The first step is an experimental generator that shares a new serializable MapGeneratorSettings class with the existing Mono-based HexMapGenerator, letting both paths produce comparable output while the code is split apart.

The practical reason for the detour is determinism. The same seed and settings can yield different rivers and terrain between Mono and IL2CPP because Mono’s float math can promote to double and back, nudging threshold checks down different branches. Since Burst and IL2CPP behave consistently, the tutorial treats IL2CPP as the baseline and calls out Unity’s broader move away from Mono toward CoreCLR.

To make side-by-side testing easier, the new generator is wired into the New Map menu behind an Experimental toggle, with the old path still available. From there, the refactor begins at the end of the pipeline by extracting terrain assignment into a SetTerrainTypeJob mock, complete with biome tables and climate data access.

For developers, the useful takeaway is less about the specific hex map and more about the migration strategy: isolate settings, preserve output parity, and replace monolithic generation stages one at a time. That approach should translate well to any procedural system headed toward Burst, jobs, or other parallel-friendly architectures.

“the old and new code must generate the exact same maps”

— Catlike Coding Unity · Sets the refactor's compatibility goal
At a glance
what
Hex Map 5.4.0 begins a map-generation refactor toward Burst jobs using mock jobs first
who
Catlike Coding Unity; Hex Map project; Unity 6000.3.20f1
when
Tutorial follows Hex Map 5.3.0 and targets Unity 6000.3.20f1
impact
Procedural generation can be compared across Mono and IL2CPP while preserving identical output
Signal Neutral

Refactor-focused, with a determinism caveat

Discuss

Follow Unity updates

See relevant stories in your personalized news feed.

Sign in to follow

Continue on GameDev.net

Useful next steps related to this story.

Game development news without the noise

One useful weekly briefing. No daily flood.

Sending your confirmation email…

Discussion

Loading comments...

Recommended resources

Game Engines

See full guide
Unreal Engine 5 Best Practices cover
Editor pick

Unreal Engine 5 Best Practices

Amazon · Book

Written by multi-award-winning Unreal generalist Tyson J. Butler-Boschma, Founder and Creative Director of Toybox Games Studios, this book addresses common challenges you face when advancing your expertise in lighting, environment design, and cinematic storytelling.

GameDev.net may earn a commission if you purchase through these links. This helps fund the site at no extra cost to you.

GameDev.net may earn a commission if you purchase through these links. This helps fund the site at no extra cost to you.