XUYAO LIANG
Unity3D / Game Engine Developer
[email protected] | [email protected] | Demo: unity.hanabit.art | GitHub: github.com/charles-liang
Skills
- Unity: Strong C#. Unity engine architecture, render pipelines (URP / HDRP / custom rendering), PlayableGraph animation, asset management, UPM packaging, IL2CPP, and performance optimization.
- Platforms: iOS / Android / WebGL porting, command-line builds and releases, SDK integration. Deploys WebGPU / WebGL online demos.
- Rendering: Tiled / Clustered Forward, Deferred, software ray tracing (Compute Shader + BVH), SSAO / SSR, cascaded shadows, TAA, IBL, volumetric fog, and Bloom. Built a cross-platform rendering layer for Metal / Vulkan / D3D12. Mobile GPU optimization.
- Multiplayer: Lockstep and state synchronization, prediction and rollback, deterministic fixed-point math. Matchmaking and battle-server allocation. Server development in C++ + Lua, Go, and .NET. UDP / KCP.
- Game security: Familiar with decompiling Mono / IL2CPP builds and extracting their assets; able to assess and design protection.
- Engines: Unreal Engine source changes and runtime extensions. Built an engine scripting language and its compiler, with hot reload.
Projects (public)
2026 | Nova Multiplayer Game Platform (Unity 6 · Go · .NET 8)
A shared multiplayer foundation for a mobile MOBA and for smaller games such as racing, Gomoku, and cards. The client is Unity. The backend is a Go platform server plus a .NET battle server. Online demo: unity.hanabit.art
Client (Unity)
- Framework: Networking, gameplay components, branching dialogue, UI, and graphics are split into 6 UPM packages, so each game only writes its own gameplay layer.
- Deterministic combat: Fixed-point math and a fixed-order ECS let lockstep and state sync share one combat codebase (under 8% of the code is mode-specific), with prediction and rollback. Events are dispatched as immediate, next-frame, or delayed, so skill chain reactions run frame by frame instead of recursively and clients never drift apart.
- Gameplay and presentation: Stats, buffs, skills (wind-up / channeling / interrupts), damage and shields, A* pathfinding. Character animation through PlayableGraph, driven by the simulation clock. A branching-dialogue editor that imports from Excel.
- Character Studio: BlendShape sliders for body and face, hair / eyebrow / outfit swaps, and skin and hair color. Settings serialize to presets that can be saved and shared by code, and the same data drives both character select and the in-match character.
- Custom rendering: Tiled Forward and Deferred paths, software ray tracing (Compute Shader + BVH), SSAO / SSR, cascaded shadows, TAA, volumetric fog, Bloom + ACES.
Backend (Go + .NET)
- Division of work: The Go platform server owns everything outside a match: accounts, matchmaking, Elo ratings, match history, and rooms for the smaller games. The .NET battle server owns the match itself. It runs the same C# combat code as the client at 20 Hz and is the authority. They are split because Go cannot run that C# code and .NET is a poor fit for holding many idle connections.
- How they interact: Battle servers register by heartbeat → after a match forms, the platform assigns a battle server and issues HMAC-signed join tickets → players connect to the battle server directly, which verifies tickets locally → the battle server reports the result and the platform settles it idempotently by match ID.
- Matchmaking: The rating window widens with wait time. Parties are never split. Roles are filled and team strength balanced, with bots after a timeout. The same set of players forms the same match regardless of arrival order.
Online demo (WebGPU, with WebGL 2 fallback)
Entered through the Demo Hub: 22 cases in 6 groups. Every case has automated tests that run after each build and are checked against screenshots.
| Group | Cases |
|---|---|
| Graphics and staging | Graphics Lab: the full cast of 6 elemental skills; switch between Tiled Forward, Deferred, and software ray tracing; 7 simulations · Card effects: deal, flip, rare foil, and burn, 4 animations × 3 color sets · Character select: entrance animations, camera and lighting changes; fast switching interrupts and cleans up leftover effects · Character Studio (character creator): BlendShape sliders for body and face, hair / eyebrow / outfit swaps, skin and hair color, presets saved and shared by code |
| Sync and online play | Lockstep race / State-sync race: the same game under both sync models, replayable tick by tick · Online Arena: create a room with a code, play 1v1 online, and resume the match after reconnecting |
| Board and card games | Gomoku (15 × 15) · Tic-tac-toe · Card Clash (AI opponent; online, the opponent's hand stays hidden): shared turns, move validation, move history and replay, undo, and legal-move hints |
| Action | Top-down action: move, dodge, attack, clear the room to open the door · 2D platformer: moving platforms, checkpoints · Survival arena: timed spawns, pick 1 of 3 upgrades · Shooting range: moving targets, reloading, hit feedback |
| Strategy and puzzles | Tower defense: build, upgrade, 3 waves · Tactics: grid movement, attack range, alternating turns · Sokoban: switches, undo, reset · Co-op puzzle: the door opens only when both players stand on switches |
| Story, AI, and rhythm | Branching dialogue: Excel import, conditional branches, multiple endings · Quest level: accept quest → pick up key → open door → save and load · Grid AI Lab: pathfinding around obstacles; guards patrol, chase, and attack · Rhythm game: early / late / miss judged against the music timeline, with latency calibration |
All cases share common systems: skills and status effects, items with inventory and hotbar, quests and world state, saves and checkpoints, AI perception and navigation, wave spawning and object pools, input rebinding, camera control, audio settings, scene loading, and localized UI across devices.
2026 | Unity Build Protection Assessment Tool (Python · Unity)
- Automated comparison: One command builds Mono and IL2CPP packages for Windows x64 and Android, decompiles them, extracts assets, writes a report, and compares against the previous version.
- Findings: Code recovered from Mono builds recompiles as is. IL2CPP builds still give up types, methods, and x64 / ARM64 pseudocode in which damage formulas and branches are readable. Textures and audio come out unchanged.
- Use: Runs directly on release builds to measure what encryption and obfuscation actually achieve, and to flag logic and keys that should not ship in the client. It separates "the tool does not support this build" from "the protection works", which avoids false confidence.
2026 | arena — Multiplayer Battle Server (C++)
- Cross-platform determinism: Client and server share one fixed-point simulation, with bit-identical results on ARM and x86. Snapshot, rollback, and checksum APIs support lockstep, server correction, replays, and desync detection.
- Networking and security: On one UDP port, real-time data goes out directly and messages that must arrive go over KCP. X25519 + ChaCha20-Poly1305 encryption, replay protection, and time-limited join tickets.
- High-performance gateway: Batched packet I/O on Linux, port sharing across cores, and UDP segmentation offload. 22 service components including lobby, matchmaking, battle, and settlement, with MOBA and fighting-game demos.
2025–2026 | Cross-Platform Game Engine (C++)
- Cross-platform rendering layer: One interface drives 4 backends (Metal / Vulkan / D3D12 / WebGPU), with all shaders written in Slang. Solved backend differences, such as instance IDs starting from different bases and misplacing particles.
- Render pipelines: Forward with GPU clustered light culling. Deferred with 7 passes including shadows, TAA, transparency, and Bloom. IBL, FSR upscaling, GPU skinning.
- Mobile optimization: Tuned for tile-based mobile GPUs: no discard in shaders so hidden-surface removal keeps working, no fragment stage in the shadow pass, and precompiled shaders to cut hitches and power use.
- Engine systems: A lock-free real-time audio engine, a particle library that plugs into any render flow, streamed voxel worlds, and procedural IK animation. Scripting uses the compiler below.
2026 | Engine Scripting Language Compiler (C++)
A statically typed Lisp dialect for engine scripting. The whole compiler, from front end to machine code, is my own, and it replaces interpreted execution.
- Pipeline: Macro expansion → type and effect checking (with type inference) → SSA IR → optimization → register allocation → native x86-64 and ARM64 code. JIT and AOT share one backend.
- Optimizations: Common subexpression elimination (including bounds-check elimination), loop-invariant code motion, dead code elimination, and inlining of small functions. Graph-coloring register allocation. Supports the Windows, Linux, and macOS calling conventions.
- Hot reload: Swaps script modules at runtime. It checks object memory layouts for compatibility first and keeps the old version if any step fails, so the game keeps running.
- Garbage collection: The GC is factored out into a standalone C interface protocol (OpenGC, open source), so collectors can be swapped. The compiler decides from each collector's capabilities whether to inline allocation and skip write barriers.
2025–2026 | VeriWorld — Unreal Engine Project (co-author, NeurIPS 2026)
- UE engine work: Owned the overall architecture and all Unreal development. Modified engine source and implemented runtime materials and particles. Exposed UE reflection to Python so generated code can build and control 3D scenes directly.
- Streaming and animation: Video and audio stream over WebRTC to browsers and iPhone, with touch input. SMPL-to-MetaHuman animation retargeting.
- Paper · Code
Work Experience
NetEase | Engine Platform Team | Engine Developer | 2020.04 – 2026.04
Developed and supported Unity, Unreal Engine, and the in-house engine on the engine platform team, serving several game projects across the company. Confidential; only part of the work is listed.
- Engine customization: Modified core features in the Unity / UE / in-house engine source, fixed engine defects, merged upstream releases, and extended rendering, assets, and the script runtime for project needs.
- Render pipeline optimization: Customized URP / SRP and UE mobile pipelines, and contributed to the in-house engine's render pipeline and RHI layer (Metal / Vulkan / D3D). Optimized draw calls, batching, shader variants, PSO caching, and overdraw to cut mobile bandwidth and heat.
- Performance and memory: Found CPU / GPU / memory bottlenecks with Unity Profiler, Memory Profiler, Unreal Insights, RenderDoc, Xcode Instruments, and Snapdragon Profiler; fixed GC pressure, resource leaks, and load times.
- Crash analysis: Analyzed IL2CPP / native crash stacks and symbols and built crash collection and symbolication. Handled ANRs, OOMs, memory corruption, threading races, and device compatibility.
- Engine systems: Contributed to core modules such as asset loading, AssetBundles and hot updates, memory management, and multithreaded task scheduling. Maintained the iOS / Android / WebGL build pipeline.
- Tooling: Built editor extensions and asset import and validation tools to speed up artists and designers.
- Game security: Analyzed cracking, tampering, and cheating against the client and protocol. Shipped code and asset encryption, bytecode protection, anti-debugging / anti-injection, and memory and integrity checks.
Watsons | E-commerce & CRM IT Officer | 2017 – 2020
- Java / Spring order, warehouse, and fulfillment system integrations. Jenkins CI/CD. SRE support during the Double 11 (11.11) sales.
Education
Guangzhou University of Software (GZUS) | Software Engineering | Bachelor's | 2012 – 2016