Chapter 14

Building and uploading

This chapter covers what to do before you build your world and upload it to VRChat. It explains the player in your scene, the checks Dreamer Pro runs, and how to test a Dream. Read it before your first upload, and again after you update Dreamer Pro.

The player#

Everything a Dream needs in the world lives on the Dreamer Pro Player. This is the object that Add Dreamer Pro to Scene placed. These parts are all children of the player:

  • The player controls.
  • The Looks button and its plate.
  • The Sound button and its plate.
  • The slide panel, the pin box and the collapse button.
  • The pose bubbles and the loading card.
  • The intro cards, the text and image cards, and the prompt panel.

Rebuild Dream Player#

Choose Dreamer ProRebuild Dream Player after you update Dreamer Pro, or whenever the player looks incomplete. It does the following:

  • It adds any panel the player is missing.
  • It removes a doubled panel.
  • It rewires every Dream in the scene to the player.
  • It brings the player's network IDs in step with its parts, so the world build does not stop over them.

A player made before the Looks button existed gets the button this way. Lint asks you to rebuild when a Viewer Look node plays on a performer with several looks.

Note

Rebuild Dream Player never changes a networked object outside the player. If one of those is out of step, the Console says so. It sends you to VRChat SDKUtilitiesNetwork ID Import and Export Utility.

Rebuild Panel Prefabs#

Rebuild Panel Prefabs rebuilds all of the panels the player is built from, not only the slide panel and the pin box. You rarely need it. If you do run it, run Rebuild Dream Player after it.

Dreamer Pro component buttons#

The Dreamer Pro component in the Inspector has its own buttons:

  • Open Dream Editor Opens the Dream Editor on this Dream.
  • Configure Openings Opens the Dream Editor on this Dream's opening settings.
  • Rebuild Prompt Panel Makes the prompt panel again, or repairs it.
  • Repair Dreamer/TXL Wiring Reconnects the player to its video player if the link is lost.

Video players#

A Shared Dream plays through the video player on the Dreamer Pro Player. A Local Dream on hosted video needs a video player of its own, one for each Dream.

To give a Local Dream its own video player#

  1. Click the cog on the Timeline bar, then open Video.
  2. Press Set Up Its Own Video Player. It shows while the Local Dream has no video player of its own.
Note

Every Local Dream's video player is alive when the world loads. Keep the number low on Quest.

Animation data#

Animation nodes play baked data in the world. The upload check refuses a world whose animation data is missing or out of date.

To update animation data#

  1. Change the animation clip or its settings.
  2. Select the Animation node.
  3. Press Bake Animation Data on the node.

Camera shots and Static Batching#

A Camera shot moves the world behind its window. Unity's Static Batching welds Batching Static meshes in place when the world builds or Play mode starts. A welded mesh cannot follow a shot.

So when a Dream has a Camera node, Dreamer Pro turns Batching Static off on the scenery for the build and for Play mode. Your saved scene is not changed. The other Static settings stay as they are, so baked lighting is the same. The Console says how many objects it changed. When you add the first Camera node, a corner notice shows the count.

Dreamer Pro leaves these objects alone:

  • An object at the top of the Hierarchy that holds a Dream or the VRChat world descriptor, with everything under it.
  • An object at the top of the Hierarchy that is tagged EditorOnly.
Warning

With Static Batching off, the world draws more batches. Check the frame rate, on Quest most of all.

Note

If Unity's Enter Play Mode Options skip the scene reload, Play mode leaves Static Batching on, and the Console says so. The uploaded world is not affected.

Lint before you build#

Lint is the check that lists everything in a Dream that would not play, or might not play as you meant.

To check a Dream with Lint#

  1. Press Lint in the footer of the Dream Editor.
  2. Clear the errors. Warnings and Info are advice.
  3. To find a node, click a row that names it. The timeline shows that node.

Lint checks every track, every slide, the gate, the zones and the video setup. It also names two Mat-swaps that change one object at the same time, and says which one shows.

The upload check#

When you build or upload, Dreamer Pro runs its own check. If something would stop the Dream from playing, the upload stops with an "Upload stopped" message. The message says how many problems there are and names the Dreams to fix.

To fix a stopped upload#

  1. Press Open Dream Editor in the message. The Lint list of the first Dream opens.
  2. Fix the problems Lint shows. Lint shows most of them.
  3. Check the Console for the rest. It lists every problem, marked [Dreamer Readiness].
  4. Build or upload again.

Things that stop an upload#

  • Many Lint errors stop an upload, but not all of them.
  • A Move, Animation, Voice, Text or Prompt node that cannot play as written.
  • A Cue, FX, Skybox, Teleport or Mat-swap node with a missing object, material or time.
  • An FX whose object is marked Static (Batching). The same mark on a Cue or a Move is only a warning.
  • A Dream with an empty timeline, so it has no length.
  • A Local Dream's own video player with Loop, Play On Join, Trigger Zone, Playback Zone, Dependent Source or Static Url Source set.
  • Animation data that is missing or stale.
  • Two Dreams whose zones overlap.
  • Two Dreams that share one video player.
  • A gated Dream that nobody could open, or a gated Shared Dream on hosted video.
  • A Dreamwalker, Aerobics, or cue-, FX- or prompt-owned Sound node that cannot play as written.
  • A condition that could never pass.
  • A hosted Dream with no video player of its own.
Warning

Guidance, Camera, Vision FX, Group, Image and Slideshow errors never stop an upload, even when they mean content cannot appear. Clear every Lint error before you ship, not only the ones the upload refuses.

Note

A slideshow on hosted video is a Lint error, but it does not stop the upload. Fix it before you ship.

Quest#

When you build for Quest or for PC, Dreamer Pro prepares each Dreamwalker for that build.

  • PC and Quest avatars A Dreamwalker with both a PC and a Quest avatar is stripped to the right one for each build.
  • An avatar that cannot move If the avatar meant for a build could not move with the recording, the build keeps the other avatar instead, so the performer still moves. The Console says which avatar viewers see and how to fix it. Lint names the same cases before you build.
  • Looks A Dreamwalker with several looks keeps only its first look on a Quest upload, unless Allow collections on Quest is on. A PC upload keeps every look.
  • Recordings Every recording plays on Quest.
  • Performers at once At most three performers animate at once. Any others are left as the scene had them until one of the three leaves. Lint warns when more than three are on stage together.
  • Voice recordings They are set to compress when the world builds, so they ship small. The files in your project stay full size.

See Dreams on Quest for the whole picture.

Testing#

Each way of testing checks different things:

Where you testWhat it checks
The editor previewTiming and placement.
Unity's Play modeA Shared Dream. It cannot play a Local Dream's video, because the video engine does nothing there.
VRChatGates, slides between two people, teleports, voice, posing, and anything on Quest. VRChat is the only real test of these.

To test in VRChat#

  1. In the VRChat SDK Control Panel, press Build & Test. Your world opens in VRChat.
  2. Invite a second person.

Updating a world#

Your Dream lives in your scene. Updating Dreamer Pro does not change it.

To update a world after a Dreamer Pro update#

  1. Choose Dreamer ProRebuild Dream Player.
  2. Press Lint and clear the errors.
  3. Rebuild and upload the world.