Make worlds in Unity.
Visit them in Neon.
Build a world in Unity with your own models, lights and sounds, add grabbable things, teleporters and code blocks, and publish it straight to Neon. Anyone can visit it from Other Worlds.
You'll need
- Unity 6000.0.80f1, installed from Unity Hub. Worlds must be built with the same Unity as the game.
- Android Build Support for that Unity. In Unity Hub go to Installs, click the gear, then Add modules. Quest runs on Android.
- A Neon account, the same one you use in the game.
Set up
- In Unity Hub, create a new project from the Universal 3D template.
- Open Window › Package Manager, click +, choose Install package from tarball…, and pick the file you downloaded.
- Open Neon › World SDK. If it says VR isn't switched on, click Turn on.
- Want an example? Neon › Create Sample World makes a small finished world to explore.
Build your world
Make your scene as you would any Unity scene. Then right-click in the Hierarchy and look under Neon:
- World Descriptor
- Every world needs one: its name, spawn points, how far you can fall, and max players.
- Pickup
- Grab it, carry it, throw it. Everyone sees it move.
- Teleporter
- Walk onto it and you're sent somewhere else in the world.
- Portal
- Walk in to go to another Neon world.
- Rules
- Code blocks, like the ones in Neon's builder. When a button is pressed, a player walks in, a timer ticks… do things: move or hide objects, play sounds and animations, show messages, keep score, teleport players. They run once for everyone and stay in sync.
Publish
- In Neon › World SDK, log in.
- Fix anything red under Checks.
- Click Build & publish to Neon. Publishing again updates the same world.
Good to know
- Your own scripts don't run in Neon. Use the Neon parts and Rules instead. The SDK tells you if something won't work.
- Cameras, audio listeners and video players are removed, because everyone brings their own camera and ears.
- Quest worlds can be up to 100 MB. Keep textures at 2048 or below (1024 is better), and keep it under about 300,000 triangles.
- Use URP materials: Lit, Simple Lit, Unlit or Particles.
- Only publish things you have the rights to. Nothing hateful, sexual or illegal.
The full guide comes with the SDK: Neon › Guide in Unity.