Now that you have a space to test, lets get to testing! This is super easy in Mona, so much so that with a couple of clicks you can have your space in a web browser!
By testing often you can find issues with the space, see how well it is running, making sure you can't run through walls etc. and generally seeing what the experience is like as you go.
Let's review checklist to make sure your Mona Space works properly in the testing playground:
Did you remove all Cameras from your scene?
If there is a camera in your scene, the Space will not display properly with Mona. Note: If you add a camera for testing inside Unity, make sure to either delete it, or turn it off at the top of the Inspector before exporting your Playground files.
Did you add Colliders to your scene?
If you havent, the player avatar out of your world and reset until the end of time. To learn more about adding colliders [check out this tutorial].
Did you set your Player Spawnpoint?
The player spawnpoint is the position in which your avatar will spawn in your world. If you haven't set this, or are unsure, [check out this guide]. Note: by default, your Player Spawnpoint is 0,0,0.
Did you set unique names for your Portals and Artifacts?
For testing, you do not need unique names, however, it is a best practice to make sure these names are unique. Note: There will be a warning in the playground that any Portals or Artifacts with duplicate names are present, this warning is to help you make sure there are no duplicates.
Building Playground Files
The easiest way to build the playground files is to :
Click the > Playground files button at the top of the unity window.
Click the Playground Button
Your default web browser will open at the playground web address, and the file location of the Playground files will open automatically
Drag the PlaygroundFiles folder from the file location into the middle of the playground files web page
The more complicated way to do this is to :
Go to the Mona menu and select Build Playground Files
Drag and drop the Playground Files folder onto the box in the middle of the Playground Web page, or use 'Select a File' and navigate to the Exports folder found in your unity Projects folder and select the Playground Files folder. Select yes to the popup window to add all the files.
If you need to find the Playground files for any reason manually you can go to : <YourProjectFolder>/Exports/PlaygroundFiles
Sometimes you may find that if you build again soon after a previous build, the Playground files don't update. It is a good idea to delete the Playground files after you test them in your space to reduce the chance of this.
Filesize limitations (<180Mb)
Mona supports up to 180Mb for the PlaygroundFiles folder (including all of the files within it). If your files are over this you will need to change or optimise your space in order to get the filesize under this.
Ways to do this include :
Reduce / Resize textures
Reduce / Resize lightmaps
Reduce / Resize Reflection probe maps
Resize skybox texture
Reduce polygon count considerably (if you have any high polygon assets for example)
In this section we had a quick look at how to test your space in the browser. So with the sections so far you should have a space that you are happy with and ready to mint. To do that we need to submit the space for Quality Assurance before being cleared to mint.