Creators / Worlds
Set up a world
Make a Unity scene into a ParelVR world.
1. Name it MainScene and add it to Build Profiles#
The scene players arrive in must be called MainScene, and it must be in the scene list of File > Build Profiles. Every enabled scene in that list is part of your world: the others become subrooms. The SDK will not build without a MainScene:
You need a "MainScene". Fix this by renaming 1 of your scenes to MainScene.
2. Add the World Descriptor#
Add an empty object to MainScene and give it Add Component > ParelVR > World Descriptor. A world has one.
3. Add a spawn point#
Add Component > ParelVR > World SDK > ParelVR Spawn Point on an object where players should appear. The Scene view shows a ring at its foot and a line for the way players will face.
You can have several. ParelVR uses the enabled spawn point with the highest Priority. Facing Mode sets which way players face, Radius Override spreads them over an area, and One Shot uses the point only once.
4. Build what you like#
Everything in a normal Unity scene works: meshes, lights, baked lighting, reflection probes, audio, animation, particles, post-processing and UI. Add ParelVR's world components for the rest:
| Component | Page |
|---|---|
| Mirror | Mirrors |
| Local Portal In / Out, World Portal | World portals |
| Avatar Pedestal | Avatar pedestals |
| World Menu | World Menu |
| 3D Audio Raycast | 3D audio |
| Video Player | Video players |
| RSP Sender / Receiver | RSP in worlds |
| Skybox Cycle, Weather | Sky and weather |
| More scenes in one world | Subrooms |
For interaction (buttons, pickups, doors, games), write VoltCS scripts.
5. Test it#
Press Play. The SDK's simulator gives you a body at your spawn point, with your nameplate, even before the world has any scripts; world UI, text fields, video players and scripts work. If a script fails to load, you still get a body and the error is in the Volt Console. ParelVR SDK > Volt > Test in VR plays it in a headset, and Multi-Client Play Mode lets you test with several players.
6. Upload it#
See Upload a world.
Performance tips#
- Bake lighting where you can; realtime shadows are expensive, especially in VR.
- Use occlusion culling in large worlds.
- Keep texture sizes reasonable. The standalone version is capped at 2048 px anyway.
- Mirrors render the scene again for each eye; give them a sensible Max Distance and limit their layers.
