挑战
现有的 VR 培训应用程序是单租户解决方案,不具备基于 Web 的管理功能:
- 管理员无法通过集中式仪表板跟踪学员进度
- 单组织设计无法服务多个企业客户
- 培训会话数据保留在 VR 头戴设备上,没有云同步功能
- 无法跟踪或评分多次培训尝试的评估结果
- 管理员无法了解培训完成情况或质量指标
我们的解决方案
我们构建了一个带有 Web 仪表板、基于角色的访问、会话跟踪和实时分析功能的多租户 VR 培训 SaaS 平台。
架构
- Web 仪表板:使用 Tailwind CSS 的 React 19,Recharts 用于分析
- 后端 API:使用 MongoDB/Mongoose 的 Express 5
- VR 应用程序:Unity 2021.3 LTS,使用 Meta XR SDK 适用于 Quest 头戴设备
- 认证:使用 bcrypt 的 JWT,基于角色的访问控制
- 多租户:在应用层实现基于 TenantId 的数据隔离
平台组件
游戏化仪表板(按组织)
- 培训会话概览及完成率
- 个人学员进度及会话历史记录
- 评估分数及尝试跟踪
- 培训师和学员的团队管理
超级管理员面板(平台范围)
- 组织管理和配置
- 跨租户分析和报告
- 平台健康和使用情况监控
- 用户和订阅管理
VR 培训应用程序 (Meta Quest)
- 沉浸式培训场景,带有基于物理的交互
- 分步引导工作流程(螺丝放置、组装任务)
- 触觉反馈,实现逼真的工具交互
- 通过 API 数据提交实现实时进度跟踪
- 基于控制器的激光指示器 UI 交互
角色层级
- 超级管理员 - 跨所有组织的平台级管理
- 组织管理员 - 组织特定的用户和培训管理
- 管理员 - 团队级培训监督
- 学员 - VR 培训参与者
主要特性
- 租户隔离 - 通过 tenantId 实现完整的数据分离
- VR + Web 集成 - Unity 头戴设备将数据同步到 Web 仪表板
- 会话跟踪 - 每次培训支持多次尝试并进行评分
- 基于角色的访问 - 具有精细权限的四层级结构
- 进度分析 - Recharts 支持的培训指标可视化
- 物理交互 - 逼真的 VR 工具操作与触觉反馈
成果
技术栈
常见问题
MicrocosmWorks implemented tenant isolation at the database level using PostgreSQL row-level security policies combined with a tenant context middleware that injects the organization ID into every query. VR training content is stored in tenant-specific S3 prefixes with IAM policies preventing cross-tenant access, ensuring complete data isolation even at the storage layer.
MicrocosmWorks built the VR training application using Unity with the OpenXR standard, supporting Meta Quest 2/3/Pro, HTC Vive Focus 3, and Pico 4 Enterprise headsets. The platform also provides a desktop 3D fallback mode for organizations that want to deliver training content to employees without VR headsets, expanding accessibility significantly.
MicrocosmWorks implemented an xAPI (Experience API) based analytics system that captures granular interaction data including gaze tracking, hand movement precision, task completion times, and error rates. The admin dashboard aggregates this data into competency assessments, compliance certificates, and team performance comparisons with exportable reports for HR systems.
Yes, MicrocosmWorks built a no-code scenario editor that allows training managers to create branching decision trees, place interactive objects in 3D environments, define success criteria, and set up scoring rubrics. The editor uses a template library of pre-built environments like factory floors, offices, and retail spaces that can be customized with uploaded 3D assets.
MicrocosmWorks delivers VR SaaS platforms at rates of $30-$50/hr, with a full multi-tenant training system including the Unity application, scenario editor, analytics dashboard, and tenant management typically requiring 1000-1500 development hours. The Unity development and 3D environment creation account for approximately 50% of the total effort.
