Modular Spatial AI framework for building intelligent and event-driven XR experiences in Unity.XRCore is render-pipeline agnostic and works with Built-in, URP, and HDRP. It focuses on runtime logic, event-driven XR architecture, perception pipelines, and AI agent orchestration. The included demo uses lightweight Unity primitives and standard lighting to ensure broad compatibility across projects and devices.XRCore is a modular Spatial AI framework for Unity XR designed to accelerate the development of intelligent assistants, guided interactions, and context-aware XR experiences.It provides an event-driven runtime architecture that connects perception systems, task orchestration, agent reasoning, and behaviour execution into a unified XR intelligence pipeline. Developers can build XR applications where virtual agents detect the environment, interpret user actions, and respond with real-time instructions, guidance, contextual feedback, or automated behaviours.The framework separates perception, reasoning, interaction, and runtime orchestration into independent layers, allowing developers to integrate different detection providers, AI models, reasoning systems, or external services without modifying the overall architecture.XRCore includes pluggable perception providers, the XRCoreEventBus for decoupled communication, XRGuideAgent for contextual decision-making, and XRTaskRunner for structured XR workflow execution.The package also includes a demo scene showcasing gaze-based perception, contextual XR guidance, and an automatic Setup Wizard that quickly configures the required components for rapid integration into Unity XR projects.XRCore is designed for XR assistants, industrial training simulations, onboarding experiences, intelligent guidance systems, spatial computing workflows, and modular XR interaction architectures.The framework is compatible with Built-in, URP, and HDRP pipelines and is designed as the foundational runtime layer of the XRCore ecosystem, supporting future extensions for training systems, voice guidance, vision providers, contextual memory, and enterprise XR workflows.Core Features• Modular Spatial AI architecture for Unity XR applications• Event-driven runtime connecting perception, interaction, reasoning, and behaviour systems• XRGuideAgent for contextual guidance, intelligent behaviours, and runtime orchestration• XRTaskRunner for XR workflow execution, task progression, and structured interaction flows• Pluggable perception providers through the IXRDetectionProvider interface• Included providers for simulation, raycast interaction, and Sentis-ready perception workflows• Extensible reasoning interfaces supporting rule-based systems, state machines, and AI/LLM integrations• XRCoreEventBus for decoupled runtime communication between XR systems• Setup Wizard for automatic scene configuration and rapid project integration• Demo scene showcasing gaze-based perception, contextual XR guidance, and intelligent interaction flows• Compatible with Built-in Render Pipeline, URP, and HDRP without additional configurationTechnical Highlights• Modular runtime architecture designed for scalable XR intelligence workflows• Decoupled systems powered by event-driven communication patterns• Provider-based perception pipeline for interchangeable detection systems• Extensible reasoning pipeline supporting deterministic and AI-driven behaviours• Compatible with Unity Sentis and external AI inference providers• Runtime-oriented architecture suitable for XR assistants, training systems, and spatial computing applications• Asset Store-ready package organization with clear separation between runtime, editor tooling, providers, and samples• Designed as the foundational runtime layer for the XRCore ecosystem and future extensionsAI-assisted tools were used during the development process to support coding, documentation drafting, and architectural exploration.The final implementation, architecture design, testing, and integration were performed and validated manually to ensure correctness, stability, and compliance with Unity development guidelines.





