Library / SDK
FlaxEngine/FlaxEngine avatar
FlaxEngine/FlaxEngine

Flax Engine: reading a full C++ game engine source tree

Flax Engine – multi-platform 3D game engine

7,131 stars736 forksC++License varies

At a glance

What is it?
The FlaxEngine repository publishes the whole engine in C++ and C#, minus console code locked behind NDAs. What sits in the tree, what building it costs you, and where the repository stops answering.
Who is it for?
Flax is unusually open about its build story for a commercial engine: the repository tells you exactly which SDKs, scripts and solution configurations to use on three platforms. Usage is governed by the Flax Engine EULA, published on flaxengine.com.
Can I use it commercially?
Check first. The repository uses a licence we do not classify automatically, so read its LICENSE file before any commercial use.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly C++, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • FlaxEngine/FlaxEngine7,131 ★ · +89
Star history
Repository2026-10-072026-11-25
FlaxEngine/FlaxEngine7k7.1k

89 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

Full engine source, minus the console platforms

Flax Engine describes itself as a high quality modern 3D game engine written in C++ and C#, and the repository makes a scope claim worth reading twice: it contains the full source code of the engine, excluding NDA-protected platforms support. That single clause sets the boundary. What you clone is a real engine, not a thin editor shell or a plugin host, but the console backends that require licensed platform SDKs are not in the tree. Documentation source lives in a separate repository, so the code and the docs are versioned independently. The README also states that anyone is welcome to contribute or use the modified source in Flax-based games, which is a broader permission than most engine projects offer.

What the top level tells you before you read anything else

The tree is organized around the assumption that you are compiling, not installing. Three platform scripts sit at the root: `GenerateProjectFiles.bat`, `GenerateProjectFiles.command` and `GenerateProjectFiles.sh`. Alongside them are packaging scripts: `PackageAll.bat`, plus `PackageEditor` and `PackagePlatforms`, each with a batch, command and shell variant. Those two trios are the clearest signal in the repository about Flax's workflow: project generation and packaging are first-class, scripted, and per-platform from day one.

Then there is the infrastructure of a large C++ and .NET codebase. `Flax.flaxproj` is the engine's own project format, `global.json` pins the .NET SDK version so contributors do not silently drift, and `.lfsconfig` matches the README's instruction to clone with Git LFS. An `AGENTS.md` sits next to `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md` and `SECURITY.md`, which suggests the project now expects machine and human contributors to read the same ground rules. The three substantive directories are `Content/` for engine assets, `Development/` for engine development files such as utility scripts, and `Source/` for everything compiled.

The workspace layout Flax builds into

The README documents the directory structure that a build leaves behind, which is worth reading because it separates the editor from the runtime explicitly. Under `Source/`, `Engine/` holds the runtime, `Editor/` holds the editor, `Platforms/` holds per-platform sources and dependency files, `Shaders/` holds shader source, `ThirdParty/` holds vendored third party source, and `Tools/` holds development tool source. `Platforms/DotNet/` carries the C# dependencies, while `Platforms/<PlatformName>/Binaries/` splits into `Game/` for Flax Game binaries and `ThirdParty/` for prebuilt third party binaries.

Generated output is kept out of source control. `Binaries/` holds executables under `Editor/` and `Tools/`. `Cache/` holds the engine's local data, with `Cache/Intermediate/<ProjectName>/` for per-project build cache and `Cache/Intermediate/Deps/` for Flax.Build dependency build cache, plus `Cache/Projects/` for project file locations. The editor living beside the engine rather than in a separate repository is the design decision here that most affects how you work on it: a change that crosses the scripting boundary touches one solution, not two codebases.

Linux is the platform the README documents in most detail

The Linux instructions are the longest of the three and the most useful for judging whether this engine is buildable outside the team that wrote it. They ask for Visual Studio Code, the .NET 10 SDK (or newer), the Vulkan SDK, Git with LFS, X11 development headers, and a Clang compiler at version 14 or later. Package names are given per distribution, and the Vulkan packages are separated from the core dependencies so you can see which piece is which.

bash
sudo dnf install vulkan-headers vulkan-tools vulkan-validation-layers

The Fedora line above is one of three variants; Ubuntu and Arch equivalents sit directly beneath it in the same structure. One honest signal: the Ubuntu Vulkan instruction is annotated as deprecated with a pointer to the official docs, which tells you this dependency moved after the instructions were written.

After cloning through git-lfs and running the generator, you open the workspace in Visual Studio Code and build a single named configuration and task:

bash
git-lfs clone https://github.com/FlaxEngine/FlaxEngine.git
./GenerateProjectFiles.sh

That task is called `Flax|Editor.Linux.Development|x64`. The pipe-separated naming encodes build flavor, target and architecture in one identifier, which is a good sign for a project that supports several editor configurations across several platforms.

Windows and Mac take different shapes

Windows is the path the README writes first, and it reads like a toolchain checklist for Visual Studio 2026 or newer. You need the Windows 10 SDK or newer, the Microsoft Visual C++ 2015 v140 toolset or newer, and the .NET 10 SDK (or newer) for Windows x64, plus Git with LFS. After `GenerateProjectFiles.bat` you open `Flax.slnx`, set the solution configuration to `Editor.Development` and the platform to `Win64`, then choose either Flax for the C++ side or FlaxEngine for the C# side as the startup project. Compilation is F7 or CTRL+Shift+B, and running is F5. The debug type option is a detail worth noting: `Managed Only (.NET Core)` debugs only C#, while `Mixed (.NET Core)` debugs both C++ and C#, which is what you want when you are working on the script binding layer.

Mac is much shorter: install XCode 16.4 or newer, the .NET 10 SDK (or newer), and the Vulkan SDK, clone with LFS, run `GenerateProjectFiles.command`, open in XCode or Visual Studio Code, and build the `Editor.Mac.Development` configuration. The Mac path omits the Clang and X11 package steps that Linux spells out, because XCode already provides the toolchain. Comparing the three, Windows is the most prescriptive and Linux the most dependency-heavy, while Mac is the path where the engine assumes the platform supplies what other systems need you to install.

The troubleshooting section names where the friction actually is

Four documented failures tell you more about the build than the happy path does. The message `Could not execute because the specified command or file was not found.` is resolved by restarting the machine and ensuring .NET is on PATH for command line tools execution.

bash
set VULKAN_SDK=%sdk_path%

The NETSDK1045 error about the current .NET SDK not supporting .NET 10.0 has a blunt answer: use Visual Studio 2026 or newer, since old Visual Studio versions are not supported by .NET SDK 10. The Vulkan rendering backend warning has the most interesting fix of the group, because the engine needs to locate the SDK before generation even starts.

text
The NuGetSdkResolver did not resolve this SDK

That last one resolves by installing the .NET SDK, the NuGet package manager, and the NuGet targets and build tasks as Visual Studio components. Every entry in this section points back to the same root cause: the C# half of the engine is a real .NET build product with real SDK dependencies, and the C++ half needs a graphics SDK resolved at generation time.

Signals in the repository that bear on adoption

The project sits at 7,103 stars and 724 forks with 808 open issues, on the `master` default branch, with the most recent push dated 2026-10-30. The open issue count against that fork count is the number worth sitting with: it indicates a large body of reported work that has not been closed, whether because the reports are duplicates, questions rather than defects, or genuinely backlogged. The repository root has no changelog file, but releases are published on GitHub, most recently 1.13.7012 on 2026-10-21.

On contributions, the README asks that pull requests target `master`, says most active development happens there, and states a preference for new features specifically. All contributions are governed by the terms of the EULA at flaxengine.com/licensing. Static analysis runs through PVS-Studio. The practical starting point for anyone evaluating Flax as an engine is therefore narrow and concrete: read the three platform instruction blocks, decide which one matches your platform, and confirm the licensing terms on the website before investing in a build, because the repository deliberately does not settle that question.

Editorial conclusion

Flax is unusually open about its build story for a commercial engine: the repository tells you exactly which SDKs, scripts and solution configurations to use on three platforms. Usage is governed by the Flax Engine EULA, published on flaxengine.com. Start with the Linux path, since that is the one the README documents in the most detail, and treat GenerateProjectFiles.sh as the real entry point rather than any GUI launcher.

Frequently asked questions

What is Flax game engine?

Flax Engine is a multi-platform 3D game engine written in C++ and C#. The project publishes its complete engine source, apart from console platform support locked behind NDAs, and builds for Windows, Linux and macOS from scripts at the root of the repository.

Does the FlaxEngine repository include console platform support?

No. The repository states that it holds the full source code of the engine excluding NDA-protected platforms support, so support for those platforms is not in this repository.

What is required to compile Flax Engine on Linux?

The .NET 10 SDK (or newer), the Vulkan SDK, Git with LFS, X11 development headers such as libx11-dev and libxcursor-dev, and Clang 14 or later. You then clone through git-lfs, run GenerateProjectFiles.sh, and build the Flax|Editor.Linux.Development|x64 task in Visual Studio Code.

Official sources

  1. FlaxEngine/FlaxEngine on GitHub
  2. Issues
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/flaxengine-flaxengine.svg)](https://hysenlabs.com/projects/flaxengine-flaxengine)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/flaxengine-flaxengine.svg)](https://hysenlabs.com/projects/flaxengine-flaxengine)

Was this useful?