Skip to content
LassarLabsPublic

About

๐ŸŽฎ Build worlds that glow. Open-source, local-first game engine + editor in Rust & C#: wgpu renderer, .NET 10 scripting, Unity project import & API compatibility.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Neon City โ€” a night metropolis built live inside GameCraft

GameCraft

Your worlds. Your machine. No strings attached.

An open-source game engine and desktop editor, built from scratch in Rust and C#.
A Unity-style workflow, a native wgpu renderer and real C# scripting.
No account, no cloud and no license server. Just you and the world you're about to build.


License: MIT Engine Scripting Editor Status

๐ŸŒ Website ยท ๐Ÿš€ Quick start ยท ๐Ÿงญ Roadmap ยท ๐Ÿ“š Docs ยท ๐Ÿงช Proof


๐ŸŽฌ The opening shot

Picture a city at night: towers in cyan and magenta, highways stacked in the sky, flying cars leaving trails of light, crowds crossing a rain-slicked plaza under holographic billboards.

Every frame above was rendered by GameCraft. The city was built live inside the editor:

  • 1,166 objects, placed through the same editor commands you'd use by hand.
  • Four Shader Graph materials: procedural skyscraper windows, flowing holograms, wet asphalt and living vertical gardens.
  • Three C# scripts written against the Unity API, compiled on the spot: cars flying their lanes, pedestrians wandering the plaza, and a camera gliding through it all.
Street level: towers, highways, holograms The plaza: reflections, bloom and neon
Street level: procedural windows, sky highways, Volume post-processing The plaza: reflection probe, wet-ground shader, bloom, ACES tone mapping

Rebuild it yourself: python3 tools/demo/neon_city.py <folder>, then start the editor with GAMECRAFT_LIVE_DIR=<folder> and watch it rise.


โœจ Why GameCraft

๐Ÿ”“ Local-first, forever No sign-in, no telemetry and no API keys. Your projects are plain folders of JSON and C# that belong to you.
๐Ÿฆ€ A real native engine Rust, with a wgpu renderer (Metal, Vulkan, DX12, WebGPU), Rapier physics, an ECS core, Kira audio and gilrs gamepads.
๐ŸŽฏ Real C#, really hosted The .NET 10 runtime runs in-process and Roslyn compiles your scripts. Hot reload, debugger attach, Jobs, Burst-style attributes.
๐Ÿงฉ Speaks Unity Import .unity scenes, prefabs, materials, animations, controllers, ScriptableObjects and .unitypackage files. Run unmodified MonoBehaviour scripts that use the supported API.
๐Ÿ–ฅ๏ธ An editor that feels like home Docking panels, Hierarchy, Inspector, Scene and Game views, Console, Project browser, Animator, Timeline, Shader Graph, VFX Graph, ProBuilder-style mesh editing, Prefab Mode.
๐Ÿ“ฆ Ship everywhere we can test macOS, Windows, Linux, Web (WebAssembly and WebGPU), Android, and OpenXR stereo rendering.

๐Ÿงฉ Unity, translated

GameCraft contains no Unity code, assets or branding. It's a clean-room engine that understands Unity's file formats and API shape, so your skills and projects come with you.

Bring your project: Unity import
  • .meta GUIDs โ†’ stable GameCraft asset ids
  • .unity / .prefab YAML โ†’ scenes and prefabs (nested prefabs, overrides, removed components)
  • .mat (Standard/URP), .anim, .controller, ScriptableObject .asset, .renderTexture, uGUI canvases, ParticleSystems, Localization tables, Audio Mixers
  • .unitypackage, with path-traversal protection
  • A full import report: what converted, what didn't, and why
Bring your code: the UnityEngine compatibility layer
  • MonoBehaviour lifecycle, GetComponent, Transform, coroutines, Invoke, [SerializeField], ScriptableObject, UnityEvent
  • Physics and Physics2D, CharacterController, joints, raycasts and casts, 32-layer collision matrix
  • Camera (culling masks, viewport rects, render textures), lights, materials, Animator, AudioSource, ParticleSystem with collisions
  • Input (keyboard, mouse, gamepad, multi-touch), uGUI and TextMeshPro controls, SceneManager (single and additive)
  • Netcode for GameObjects: NetworkObject, NetworkVariable, RPCs and NetworkTransform over GameCraft's UDP transport
  • Localization, Addressables, Audio Mixer, Jobs, Unity.Mathematics, minimal Entities
  • Handedness is converted at the boundary: scripts see Unity's +Z-forward world
Bring your tools: UnityEditor extensions

Editor/ scripts compile into Assembly-CSharp-Editor.dll and run inside the GameCraft editor: [CustomEditor] and OnInspectorGUI, EditorGUILayout, PropertyDrawer, docked EditorWindows, [MenuItem], SerializedObject, AssetDatabase, Undo.

The full scorecard is in docs/UNITY_PARITY.md. Every โ˜‘ links to the test that proves it.


๐ŸŽจ Under the hood

                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   You  โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ถโ”‚  Editor   Tauri 2 ยท React 19 ยท TypeScript     โ”‚
                    โ”‚  Hierarchy ยท Inspector ยท Shader Graph ยท โ€ฆ     โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                   โ”‚ scene JSON ยท commands
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚  Engine   Rust workspace (32 crates)          โ”‚
                    โ”‚  wgpu renderer ยท Rapier ยท hecs ECS ยท Kira     โ”‚
                    โ”‚  particles ยท VFX ยท navmesh ยท terrain ยท net    โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                   โ”‚ hostfxr ยท native API
                    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–ผโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                    โ”‚  Scripting   .NET 10 ยท Roslyn ยท GameCraft.SDK โ”‚
                    โ”‚  UnityEngine / UnityEditor compatibility      โ”‚
                    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Rendering: PBR forward renderer with shadows; a post-processing stack driven by Volumes (bloom, tone mapping, colour grading, white balance, lift/gamma/gain, vignette, chromatic aberration, film grain, SSAO, depth of field, motion blur). Also reflection and light probes, baked lightmaps (CPU path tracer), LOD groups, CPU occlusion culling, multi-camera compositing, render textures, and Shader Graph โ†’ WGSL.

Tools: Timeline, Cinemachine-style virtual cameras, GPU VFX Graph (up to 1M particles), ProBuilder-style editing, Animation Rigging (IK, aim, parent constraints), skeletal animation with blend shapes, terrain sculpting, navmesh, and a profiler.

Ecosystem: a package registry (server and client) with SHA-256 integrity, lockfiles and permission review, plus Addressables with remote content bundles.


๐Ÿš€ Quick start

git clone https://github.com/LassarLabs/gamecraft.git
cd gamecraft
npm install
source tools/env.sh          # build caches โ†’ $GAMECRAFT_BUILD (defaults to .gc-build/)
npm run dotnet:build         # SDK, managed host, Roslyn compiler
npm run tauri:dev            # launch the editor from source

Requirements: Node 22.19+, the Rust stable toolchain, the .NET 10 SDK, and on macOS the Xcode command-line tools.

npm run package:editor       # GameCraft.app + .dmg (bundles .NET runtime, compiler, player, CLI)
tools/quality-gates.sh       # every gate โ†’ docs/TEST_REPORT.md
gamecraft-cli build <project> --target web|windows-x64|linux-x64|android-arm64

Your first minute in the editor:

  1. Hub โ†’ New Project โ†’ 3D Core.
  2. GameObject โ†’ 3D Object โ†’ Cube. Add a Rigidbody in the Inspector.
  3. Assets โ†’ Create โ†’ MonoBehaviour Script, and write Unity-style C#.
  4. Press โ–ถ Play. The scene runs on the native engine.
  5. File โ†’ Build Settings โ†’ Build. Out comes a standalone game that runs without the editor.

The full walkthrough is in docs/USER_GUIDE.md.


๐Ÿงช Every claim has a test

GameCraft keeps one rule: a feature isn't done until an executable test proves it.

Gate Latest result
Rust workspace: unit and integration tests, including export and netcode โœ… 239 passed
Editor (Vitest) โœ… all passing
Browser E2E (Playwright) โœ… 22 passed
Linux arm64 in Docker: full build and test suite โœ… green
Windows x64 cross-build (PE32+, runs under Wine) โœ… green
Reproducible builds: editor, player and CLI built twice โœ… byte-identical

Evidence lives in docs/TEST_REPORT.md, docs/PROGRESS.md and tests/evidence/.


๐Ÿงญ Roadmap

Phase What lands Status
Foundation Engine core, editor, C# scripting, export โœ… shipped
Unity bridge Project import, UnityEngine and UnityEditor layers โœ… shipped
Cinematic rendering Post-processing, probes, lightmaps, Shader Graph, LOD, occlusion โœ… shipped
Creator tools Timeline, virtual cameras, VFX Graph, ProBuilder, rigging, Prefab Mode โœ… shipped
Everywhere Windows, Linux, Web, Android, OpenXR โœ… shipped
Polish pass Rich text, scrollbars, world-space UI, particle sub-emitters, 2D lights, gamepad rumble, Timeline clip blending ๐Ÿ”œ next
Live building Background-safe live sessions, scripted scene pipelines ๐Ÿ”œ next
Trust & reach Notarized macOS builds, signed Windows builds, iOS โ›” needs an Apple Developer / code-signing account
Consoles PlayStation, Xbox, Switch โ›” needs NDA platform programs (Xbox via the GDK first)

The live, detailed roadmap is on the website.


๐Ÿ“š Documentation

๐Ÿ“˜ User Guide Every panel, workflow and shortcut
๐Ÿง‘โ€๐Ÿ’ป Scripting The GameCraft and UnityEngine C# APIs
๐Ÿงฉ Unity Parity Feature-by-feature scorecard with tests
๐Ÿ—๏ธ Architecture Crates, layers and data flow
โš ๏ธ Limitations What's partial or missing, stated plainly
๐Ÿ“ˆ Progress ยท Changelog ยท Bugs History and evidence
โš–๏ธ Third-party licenses Every dependency and its license

๐Ÿ›ก๏ธ Honest scope

We'd rather under-promise than over-sell.

  • Alpha software. It's well tested, but it hasn't been used for a shipped commercial game yet.
  • Not the whole of Unity. It covers the commonly used core. LIMITATIONS.md lists every gap.
  • Precompiled and native plugins (.dll, .so, .dylib) aren't loaded. Packages ship C# source only, by design.
  • Scripts run with full trust. C# and packages aren't sandboxed. Only open projects you trust.
  • macOS builds are ad-hoc signed, not notarized. On first launch, right-click the app and choose Open.
  • No Asset Store and no Unity cloud services. Export assets from Unity as a .unitypackage and import them here.

๐Ÿค Contributing

Issues and pull requests are welcome. Before opening a PR:

tools/quality-gates.sh

Add a test for every behaviour you change, and note user-visible changes in CHANGELOG.md.


Built by LassarLabs ยท MIT licensed

GameCraft is an independent project and is not affiliated with, endorsed by or sponsored by Unity Technologies. "Unity" is a trademark of Unity Technologies and is used here only to describe file-format and API compatibility.

About

๐ŸŽฎ Build worlds that glow. Open-source, local-first game engine + editor in Rust & C#: wgpu renderer, .NET 10 scripting, Unity project import & API compatibility.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages