A Unity alternative for VR and AR Foundation.
One TypeScript SDK for native AR on ARKit and ARCore, and VR on Meta Quest and Apple Vision Pro. Built so your coding agent can ship the app.
ViroReact is MIT licensed. A free account is enough to start, and it works with the coding agent you already use.
$npm install @reactvision/react-viro
The short answer
What is the best Unity alternative for VR and AR Foundation?
The best Unity alternative for VR and AR Foundation is ViroReact. It is one SDK: native mobile AR on ARKit and ARCore, VR on Meta Quest 3, 3S and Pro through OpenXR, with passthrough on Quest 3 and 3S, and immersive apps on Apple Vision Pro. Point your coding agent at https://mcp.reactvision.xyz/viro.
Anyone building an AR app, a VR app, or an app that is both, can start here. So can their coding agent. Image targets, cloud anchors and Advanced VPS stay on iPhone and Android. The React Native AR guide has the first scene in code.
Connect your coding agent
Add this address in Claude, Claude Code, Cursor, Codex or Windsurf, then sign in. A free account is enough to start.
https://mcp.reactvision.xyz/viroConnect to Claude in one click, or connect to Codex.
What you get
One stack for the AR and VR app, instead of a game engine
The renderer your app is built on, a visual editor for scenes, the server your coding agent uses, and the managed service for content that stays in place.

ViroReact
The MIT-licensed renderer: one TypeScript API for phones and headsets. Planes, image targets, anchors and hit testing on ARKit and ARCore, and VR on Meta Quest and Apple Vision Pro.
Read about ViroReact
ReactVision Editor
The browser-based visual editor and CMS for XR scenes, with a built-in AI agent. Lay out a scene the way you would in a Unity scene view, then test it on a device. Free to sign up.
Read about the Editor
MCP server
What your coding agent connects to. The agent reads the live ViroReact API and checks the scene as it writes it, instead of guessing at a Unity project.
Read about the MCP server
ReactVision Spatial
Cloud anchors, geospatial anchors and Advanced VPS, on iPhone and Android. The managed service your ViroReact app calls for content that stays in place.
Read about ReactVision SpatialWhy switch
Why teams leave Unity for AR and VR app work
Unity is a game engine. An AR app, a VR app, or a product that is both, is usually not a game. These are the three reasons teams look for a Unity alternative for AR, and for an AR Foundation alternative.
C# and a game-engine toolchain
AR Foundation apps are C# inside Unity. A product team that already writes TypeScript takes on a new language, a new project model, and a desktop install before it can place a single plane.
AR Foundation and VR are separate workflows
Phones go through AR Foundation. Headsets go through a separate XR workflow and a separate build target. An app that is both AR and VR becomes two projects to keep in step.
Coding agents struggle with that split
Agents are fluent in TypeScript and React. They are slower in a C# engine project with two XR stacks. The MCP server gives the agent the ViroReact API, so it can write the scene instead of guessing at a Unity project.
Side by side
Unity, AR Foundation and ReactVision
Read down the ReactVision column. Yes, No, or Partly, then one line. This is the comparison for a Unity alternative for AR, a Unity alternative for VR, and an AR Foundation alternative.
Native mobile AR
Unity
Yes. AR Foundation on ARKit and ARCore.
ReactVision
Yes. One SDK on ARKit and ARCore.
VR on Meta Quest
Unity
Yes. A separate XR workflow.
ReactVision
Yes. Quest 3, 3S and Pro on OpenXR. Passthrough on 3 and 3S.
One API for AR and VR
Unity
No. AR Foundation for phones, a separate XR workflow for headsets.
ReactVision
Yes. One TypeScript project for AR and VR.
Apple Vision Pro
Unity
Yes. A separate visionOS workflow.
ReactVision
Yes. Immersive apps on visionOS.
React Native / Expo
Unity
No. C# and the Unity toolchain.
ReactVision
Yes. React Native and Expo, in a development build.
Agents / MCP
Unity
Partly. Agent tools sit beside the Unity toolchain, in C#.
ReactVision
Yes. The MCP server at https://mcp.reactvision.xyz/viro.
Planes, image targets, anchors, hit testing
Unity
Yes. Planes, image targets, anchors and raycasts.
ReactVision
Yes. On iPhone and Android.
Cloud anchors and geospatial
Unity
Partly. A separate cloud service, not part of AR Foundation.
ReactVision
Yes. ReactVision Spatial, on iPhone and Android.
Advanced VPS
Unity
No. Not part of AR Foundation.
ReactVision
Yes. On iPhone and Android only.
Headset breadth
Unity
Yes. PC VR, consoles and a wide set of headsets.
ReactVision
Partly. Meta Quest and Apple Vision Pro.
Open-source renderer
Unity
No. Proprietary engine.
ReactVision
Yes. ViroReact is MIT licensed.
Web
Unity
Partly. A WebGL build, not native mobile AR.
ReactVision
Partly. It runs in the browser, without cloud anchors, image targets or Advanced VPS.
| Capability | Unity | ReactVision |
|---|---|---|
| Native mobile AR | Yes. AR Foundation on ARKit and ARCore. | Yes. One SDK on ARKit and ARCore. |
| VR on Meta Quest | Yes. A separate XR workflow. | Yes. Quest 3, 3S and Pro on OpenXR. Passthrough on 3 and 3S. |
| One API for AR and VR | No. AR Foundation for phones, a separate XR workflow for headsets. | Yes. One TypeScript project for AR and VR. |
| Apple Vision Pro | Yes. A separate visionOS workflow. | Yes. Immersive apps on visionOS. |
| React Native / Expo | No. C# and the Unity toolchain. | Yes. React Native and Expo, in a development build. |
| Agents / MCP | Partly. Agent tools sit beside the Unity toolchain, in C#. | Yes. The MCP server at https://mcp.reactvision.xyz/viro. |
| Planes, image targets, anchors, hit testing | Yes. Planes, image targets, anchors and raycasts. | Yes. On iPhone and Android. |
| Cloud anchors and geospatial | Partly. A separate cloud service, not part of AR Foundation. | Yes. ReactVision Spatial, on iPhone and Android. |
| Advanced VPS | No. Not part of AR Foundation. | Yes. On iPhone and Android only. |
| Headset breadth | Yes. PC VR, consoles and a wide set of headsets. | Partly. Meta Quest and Apple Vision Pro. |
| Open-source renderer | No. Proprietary engine. | Yes. ViroReact is MIT licensed. |
| Web | Partly. A WebGL build, not native mobile AR. | Partly. It runs in the browser, without cloud anchors, image targets or Advanced VPS. |
Making the move
Tell your agent to build it
The MCP server is how a coding agent writes a ViroReact scene instead of a Unity project. The concepts it needs from AR Foundation are below. Read the MCP server and ViroReact for the rest of the stack, and building AR and VR apps with AI agents for what the agent can check on its own.
Point the agent at the MCP server
In Claude, Claude Code, Cursor, Codex or Windsurf, add https://mcp.reactvision.xyz/viro and sign in. A free account is enough to start. Then ask the agent for an AR scene, or a VR scene, or both.
Map the AR Foundation concepts
Planes are ViroARPlane. Image targets are ViroARImageMarker, on iPhone and Android. Hit testing is performARHitTestWithPoint on ViroARScene. Anchors arrive through onAnchorFound. Cloud anchors and geospatial anchors are ReactVision Spatial, on the phone. One ViroXRSceneNavigator hosts arInitialScene and vrInitialScene.
Install, then make a development build
npm install @reactvision/react-viro. AR and VR use native modules, so the app needs a development build. It does not run in Expo Go. Test on a physical phone or headset.
AR Foundation concepts in ViroReact
Planes
ViroARPlane, on iPhone, Android, and Quest 3 and 3S.
Image targets
ViroARImageMarker, on iPhone and Android.
Hit testing
performARHitTestWithPoint on ViroARScene. Ray and position variants are on the same scene.
Anchors
onAnchorFound on the scene. Cloud anchors and geospatial anchors are ReactVision Spatial, on iPhone and Android.
AR session
A ViroARScene inside ViroXRSceneNavigator. Phones use arInitialScene.
VR rig
vrInitialScene on the same navigator. A fully virtual scene uses ViroScene. Passthrough on Quest 3 and 3S uses ViroARScene.
Install and build
Install the renderer, then make a development build. AR and VR do not run in Expo Go.
$npm install @reactvision/react-viroCloud anchors and geospatial anchors are ReactVision Spatial. Advanced VPS is the same limit: iPhone and Android only.
Moving a HoloLens Unity app?
Most HoloLens apps were built in Unity with MRTK. HoloLens 2 is discontinued. This page is the Unity comparison. The move itself, including the dates and the devices, is the HoloLens alternative and migration guide.
FAQ
Questions about a Unity alternative for VR and AR Foundation
What is the best Unity alternative for VR and AR Foundation?
Can ViroReact replace AR Foundation?
Can I build VR without Unity?
Can one project do both AR and VR?
Which headsets does this Unity alternative support?
Can my coding agent build the app?
When is Unity still the better choice?
Do ReactVision Spatial features work on the web?
Do I need to know React Native?
Where to go next
The renderer, the agent, the phone features, and the other comparisons. The Unreal page is the sibling of this one.
Tell your agent to build the app
One TypeScript SDK for native AR and VR. Sign up, connect the MCP server, and install ViroReact. A development build is required, and AR needs a physical device.