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.

Sign up free

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
One ViroReact project in a code editor, running the same scene on a Meta Quest headset and an iPhone.

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/viro

Connect to Claude in one click, or connect to Codex.

Sign up free

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.

A ViroReact scene written in TypeScript, open in a code editor.

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
The ReactVision Editor in the browser, with a 3D scene in the viewport and the asset and material panels open.

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
A Claude Code session grounding itself in the ViroReact MCP server, checking components and props before it writes a cross-platform XR scene.

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
An Advanced VPS scan in ReactVision: the textured mesh of a kitchen with detected objects labelled, beside the map quality and localisation figures.

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 Spatial

Why 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.

01

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.

02

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.

03

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.

Unity still wins AAA games, console titles, PC VR, the Asset Store, and teams who already ship in Unity. We claim Meta Quest and Apple Vision Pro today: no SteamVR, no Pico and no HoloLens. The web build has no cloud anchors, no image targets and no Advanced VPS. Only the renderer is open source. Cloud anchors, geospatial anchors and Advanced VPS are ReactVision Spatial, a managed service, on iPhone and Android.
Sign up free

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.

01

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.

02

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.

03

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-viro

Cloud anchors and geospatial anchors are ReactVision Spatial. Advanced VPS is the same limit: iPhone and Android only.

Sign up free

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.

HoloLens migration guide

FAQ

Questions about a Unity alternative for VR and AR Foundation

What is the best Unity alternative for VR and AR Foundation?
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. It is the open source Unity alternative for app work: the renderer is MIT licensed. Point a coding agent at https://mcp.reactvision.xyz/viro. The comparison is at https://www.reactvision.xyz/unity-ar-alternative/.
Can ViroReact replace AR Foundation?
Yes, for a team that wants to leave the Unity toolchain. AR Foundation's planes, image targets, anchors and raycasts map onto ViroARPlane, ViroARImageMarker, onAnchorFound and performARHitTestWithPoint. Those perception features run on iPhone and Android. Cloud anchors and geospatial anchors are ReactVision Spatial, also on the phone. You rebuild the C# in TypeScript. There is no project importer.
Can I build VR without Unity?
Yes. A Unity alternative for VR is the same ViroReact project: Meta Quest 3, 3S and Pro through OpenXR, with passthrough on Quest 3 and 3S, plus immersive apps on Apple Vision Pro. Fully virtual scenes use a ViroScene. Passthrough scenes on Quest 3 and 3S use a ViroARScene. You need a development build, not Expo Go, and a headset to test on.
Can one project do both AR and VR?
Yes. ViroXRSceneNavigator takes an arInitialScene for phones and a vrInitialScene for Quest, in one TypeScript project. AR Foundation and Unity's headset workflow are separate build targets. Here they are two scenes in one app.
Which headsets does this Unity alternative support?
Meta Quest 3, 3S and Pro, through OpenXR, and Apple Vision Pro for immersive apps. Passthrough mixed reality runs on Quest 3 and 3S. For Unity vision alternatives, the Vision Pro build is an immersive app: plane detection, image targets and Advanced VPS stay on iPhone and Android. We do not claim SteamVR, Pico or HoloLens. Unity still covers PC VR, consoles and a wider set of headsets.
Can my coding agent build the app?
Yes. Add https://mcp.reactvision.xyz/viro in Claude, Claude Code, Cursor, Codex or Windsurf, then sign in. The agent can write the scene against the live API. You still make a development build, because the native modules do not run in Expo Go, and you still test on a device.
When is Unity still the better choice?
When the work is a AAA game, a console title, PC VR, or a team that already ships in Unity and relies on the Asset Store. Those are real advantages. ReactVision is the better fit when the product is an AR app, a VR app, or an AR and VR app, built by a software team or by that team's coding agent.
Do ReactVision Spatial features work on the web?
No. Cloud anchors, geospatial anchors and Advanced VPS run on iPhone and Android. The web build can run the same project in the browser, and it does not include cloud anchors, image targets or Advanced VPS. Do not treat the browser build as a match for the phone.
Do I need to know React Native?
The SDK is a React Native and Expo library, and TypeScript is the language. If you or your coding agent can write React Native, you can build the app. Install with npm install @reactvision/react-viro, then make a development build. The React Native AR guide is at https://www.reactvision.xyz/react-native-ar/.

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.

Sign up free
$npm install @reactvision/react-viro