Production-ready Unity 6 framework: service locator, audio, async saves, localization, deterministic RNG, events, pooling & Addressables; modular, documented, test-covered.OxHeart is render-pipeline agnostic and contains no pipeline-specific rendering code. It is compatible with the Built-in Render Pipeline, URP, and HDRP.No additional shaders, materials, conversion steps, or render-pipeline configuration are required.OxHeart is a modular Unity 6 game-development framework that gives you production-grade versions of the systems every game rebuilds from scratch without locking you into a genre or art style.Toggle services on or off. Extend the engine with your own game services. Ship on desktop and mobile with IL2CPP-safe patterns and docs written for real projects.IMPORTANT COMPATIBILITY NOTICEOxHeart requires Unity 6000.0 or newer.Before importing the Asset Store .unitypackage, ensure Newtonsoft JSON 3.2.1 or newer, Addressables 2.9.1 or newer, and uGUI 2.0.0 or newer are installed through Package Manager. Asset Store .unitypackage imports cannot install these dependencies automatically.OxHeart supports the Built-in Render Pipeline, URP, and HDRP on Windows, macOS, Linux, iOS, and Android. WebGL is not supported.OxHeart includes no analytics backend and sends no telemetry by itself. The optional analytics abstraction is disabled by default.The package includes original procedurally generated sample audio dedicated to CC0 1.0. See the bundled Third Party Notices.md file for details.See Technical Details below for complete requirements, platform limitations, IL2CPP guidance, and package contents.Why OxHeart?⚡ MODULAR BY DESIGNEnable only what you need through ServiceConfiguration assets. Use a minimal core for prototypes or enable the full service stack for production.🏗 CLEAN, EXTENSIBLE ARCHITECTUREServices are accessed through documented interfaces such as IAudioService, ISaveSystem, IEventManager, and ISceneService. Game-specific services can be registered through an automatically discovered IServiceRegistrar.🌀 CUSTOM SERVICE LIFECYCLERegisterManaged lets custom services participate in OxHeart's LateInitialize and Shutdown lifecycle without requiring changes to the engine.🚀 RESOURCES AND ADDRESSABLESUse Resources immediately with the shipped configuration, then enable Addressables when your project is ready. OxHeart supports asynchronous loading, AssetReference APIs, memory budgeting, release tracking, and fallback behavior.💾 PRODUCTION-READY PERSISTENCEThe save system supports asynchronous operations, multiple slots, auto-save, quick-save, compression, encryption, schema migrations, corrupt-file quarantine, and pluggable ISaveStore backends.A built-in editor validator identifies save data shapes that IL2CPP managed stripping could silently remove.🎮 DETERMINISTIC GAMEPLAYNamed deterministic RNG streams, saved RNG snapshots, weighted rolls, anti-pity probability helpers, typed pool bags, and an IL2CPP safe ModelDb content registry support reproducible gameplay and testing.🔊AUDIO THAT SCALESAudio tracks, source pooling, fades, 3D audio, mixer support, and a Music Playlist Service with sequential and shuffle playback, preload lookahead, crossfades, per-track gain, and now playing metadata.📜 LOCALIZATION AND DIAGNOSTICSCSV localization tables, runtime language switching, LocString formatting, DynamicVar substitution, pluralization, localized asset references, and fallback languages.The editor only Localization Health Scanner detects malformed tables, missing translations, placeholder mismatches, fallback cycles, pluralization gaps, configuration problems, and broken localized asset references.📊 BACKEND-AGNOSTIC ANALYTICSIAnalyticsService provides one optional telemetry call site without coupling game code to a specific provider. OxHeart includes no analytics provider and sends no telemetry by itself. Analytics is disabled by default.🔬 INSPECTOR PRODUCTIVITYAdd [OxButton] to a parameterless MonoBehaviour or ScriptableObject method to display it as an Inspector button without writing a custom editor. Private methods, custom labels, Undo, inheritance, and multi object editing are supported.⚖️ LEGAL AND RELEASE TOOLINGGenerate consolidated Third Party Notices, deterministic compliance manifests, and concise credits for resolved UPM packages.Optional build policies can warn or fail when a package license is unknown or the accepted compliance manifest has changed.Key featuresService lifecycle, initialization, and dependency orderingSetup Wizard with default and minimal configuration presetsType-safe pooled event bus with safe listener dispatchResources and optional Addressables integrationObject pooling with pre warming and statisticsMulti-track audio, fades, 3D playback, and source poolingMusic playlists with crossfades and now-playing metadataMulti-slot save/load, auto-save, migration, and quarantineCSV localization with runtime language switchingLocalization Health ScannerOptional backend-agnostic analytics abstractionScene Management with asynchronous loading, progress, fades, and Addressables supportGame Settings for quality, resolution, fullscreen mode, vsync, and target frame rateSafe resolution confirmation and automatic rollbackTime channels, global pause, timers, and schedulingExtensible game state managementCategorized notifications with priority, duration, and a default toast presenterDeterministic RNG streams and saved snapshotsIL2CPP-safe ModelDb content registryTypedPoolBag, AbstractOdds, and AntiPityOdds utilitiesSink-based OxLogger and game facing GameLogger[OxButton] Inspector attributeSave-type and setup validation toolsThird-Party Notices and Release Compliance toolingIServiceRegistrar and RegisterManaged extensibilityWhat's IncludedFour runtime assembliesEditor tooling and default configuration assets14 importable sample groups15 playable sample scenesCore Script Examples numbered 01 through 14, including Analytics and OxButton examplesPer-system documentation, architecture decisions, setup guides, troubleshooting, and a complete packaged changelogImportant scope notesOxHeart is game infrastructure, not a complete RPG, FPS, RTS, or other genre template. You provide the gameplay, art, project-specific UI, controls, and scenes.OxHeart does not include networking, multiplayer, a cloud-save adapter, an input service, a tweening library, or a general-purpose UI framework.The Input System package is optional. OxHeart does not read player input, and its samples adapt to the input backend available in the project.OxHeart includes no AI model, inference runtime, or AI-service integration.Release Compliance is convenience tooling, not legal advice. It covers resolved UPM-package dependencies and does not replace review of loose Assets licenses, trademarks, marketing disclosures, external services, or other legal obligations.Complete compatibility, dependency, IL2CPP, platform, input, licensing, and compliance limitations are listed under Technical Details.LEARN MORE AND SUPPORTDocumentation:https://oxheart.moomoo.games/latest/Architecture guide:https://oxheart.moomoo.games/latest/Architecture/Development logs:https://moomoo.games/#/devlogSupport:unitysupport@moomoo.gamesWebsite:https://moomoo.gamesWhen reporting an issue, include your Unity version, OxHeart version, target platform, and steps to reproduce.REQUIREMENTS AND LIMITATIONS — PLEASE READ BEFORE BUYINGUNITY COMPATIBILITYRequires Unity 6000.0 or newer.Unity 2022 LTS and earlier versions are not supported.Compatible with the Built-in Render Pipeline, Universal Render Pipeline, and High Definition Render Pipeline.OxHeart contains no render-pipeline-specific rendering code.SUPPORTED PLATFORMSSupported:Windows using Mono or IL2CPPmacOS using Mono or IL2CPPLinux using Mono or IL2CPPiOS using IL2CPPAndroid using IL2CPP⚠️ Not supported:WebGLWebGL is not supported because asynchronous save and load operations, obfuscation, and the file logging sink use background-thread APIs unavailable on WebGL.REQUIRED UNITY PACKAGESOxHeart declares the following Unity Registry dependencies:com.unity.nuget.newtonsoft-json 3.2.1 or newerUsed for save-system JSON serialization.com.unity.addressables 2.9.1 or newerRequired for compilation. Runtime Addressables loading is optional.com.unity.ugui 2.0.0 or newerSupplies Unity UI and TextMeshPro types used by runtime UI components and samples.com.unity.modules.audio 1.0.0Built-in Unity module used by the audio service.com.unity.modules.physics 1.0.0Built-in Unity module used by bundled samples.⚠️ Asset Store .unitypackage imports cannot install Unity Package Manager dependencies automatically.Before importing OxHeart:Open Window > Package Manager.Select Add package by name.Install com.unity.nuget.newtonsoft-json version 3.2.1 or newer.Install com.unity.addressables version 2.9.1 or newer.Confirm com.unity.ugui version 2.0.0 or newer is installed.Import OxHeart after the packages finish installing.uGUI and the built-in Audio and Physics modules are normally present in a standard Unity 6 project.If OxHeart was imported first and Unity reports missing package types, install the required packages and allow Unity to recompile.Addressables is required for compilation, but Addressables initialization is disabled in the shipped configuration. OxHeart uses Resources by default. Enable Addressables after your project has Addressables settings and built groups.INCLUDED SAMPLESBasic AudioData PersistenceEvent SystemGame SettingsGame StateLocalizationNotificationsObject PoolingDeterministic RNGResource ManagementScene ManagementThird-Party NoticesCore Script ExamplesIL2CPP AND MANAGED STRIPPINGThe standard Asset Store installation places OxHeart under Assets/OxHeart.The included Assets/OxHeart/link.xml file preserves OxHeart's four runtime assemblies when building with IL2CPP and managed stripping.The shipped link.xml protects OxHeart assemblies only. Game side types created exclusively through reflection still require preservation. This includes:IServiceRegistrar implementationsCustom services created through reflectionReflection-only interfaces and implementationsSave-data members that are not referenced staticallyUse Unity's Preserve attribute or add the affected types to a link.xml file under your project's Assets folder.IMPORTANT FOR MANUALLY RELOCATED INSTALLATIONS:If you move OxHeart from Assets/OxHeart into the Packages folder, Unity ignores the link.xml file at the UPM package root. The linker can then remove OxHeart's reflection-created service constructors.This failure appears in an IL2CPP player and might not appear in the Unity Editor.If you relocate OxHeart into Packages, copy the four assembly-preservation entries documented in Documentation~/IL2CPP.md or IL2CPP Documentation into a link.xml file located anywhere under your project's Assets folder.Default Asset Store installations at Assets/OxHeart require no additional action.INPUTOxHeart does not include an input service.Use Unity's Input System or legacy Input Manager directly in your game code.com.unity.inputsystem is intentionally not a package dependency.Bundled interactive samples use the Input System when it is installed and active.Samples fall back to the legacy Input Manager when available.On-screen sample controls remain functional when keyboard shortcuts are unavailable.ANALYTICS AND NETWORK ACCESSOxHeart provides an optional IAnalyticsService abstraction.No analytics provider or SDK is bundled.Analytics is disabled by default.The default implementation is a silent no-operation service.OxHeart does not collect or transmit telemetry by itself.Connecting Firebase, Unity Analytics, or another service requires your own implementation and provider configuration.OxHeart includes no mandatory account, subscription, API key, or external service.INCLUDED TECHNICAL CONTENTFour runtime assembliesEditor toolingSample assemblyDefault configuration assetsSetup WizardSave-type validation toolingLocalization Health ScannerThird-Party Notices generatorRelease Compliance tooling14 importable sample groups15 playable sample scenesCore Script Examples numbered 01 through 14Analytics and OxButton code samplesPackaged documentation and CHANGELOG.mdIL2CPP preservation configurationPRODUCT SCOPEOxHeart is a modular infrastructure framework. It is not a finished game or genre template.Your project remains responsible for:Gameplay rulesGame specific contentArt and presentationPlayer controlsProject specific UIScene compositionOxHeart does not include:Networking or multiplayerA cloud-save adapterAn input service or input wrapperA tweening libraryA general-purpose UI frameworkA complete RPG, FPS, RTS, or other genre implementationAn AI modelModel weightsAI inference codeA runtime AI componentAI-service network callsRELEASE COMPLIANCE SCOPERelease Compliance is editor-only convenience tooling.It can inspect resolved Unity Package Manager dependencies and generate:A deterministic compliance manifestA concise credits fileThird-party noticesOptional build warnings or failuresRelease Compliance is not legal advice.It does not replace review of:Loose files under AssetsAsset Store package licensesTrademarksMarketing disclosuresAI disclosuresExternal servicesOther project-specific legal obligationsTHIRD-PARTY CONTENT AND LICENSINGOxHeart does not bundle third-party source-code libraries inside the package.Required dependencies are Unity Registry packages declared in package.json.BasicAudio sample WAV files are original, procedurally synthesized content dedicated to the public domain under CC0 1.0. Attribution is not required.Other sample scripts, CSV files, prefabs, and configuration assets are original MooMoo Games content governed by the Unity Asset Store EULA.Sample meshes and materials use Unity built-in resources.See the following bundled files for complete details:Third Party Notices.mdSamples/ATTRIBUTIONS.mdDocumentation~/IL2CPP.mdGenerative AI was used as an assistive development tool for portions of the code, documentation and automated tests to improve deliverable quality. The package contains no AI-generated art, audio, textures, models, or UI assets, and includes no AI model, inference code, runtime AI component, external AI service, or required API access. The two included audio clips are deterministic synthesized CC0 assets.






