Wildfire Environment Setup
This guide will walk you through setting up the development environment for fully customizing the Wildfire environment in Crew Dojo. If you have already set up Dojo, skip here instead.
Setting Up Unity
1) Unity Installation
- Create a free Unity account at Unity website
- Download and install Unity Hub from the downloads page
-
Install Unity Editor version
2021.3.24f1: -
Open Unity Hub
- Go to "Installs" in the left panel
- Click "Install Editor"
- If
2021.3.24f1is not visible in official releases, use the "Archive" option - Note: Any version starting with
2021.3.Xshould be compatible
2) Required Build Modules
During Unity installation, ensure you select these build modules:
- Windows (mono)
- Linux (mono)
- Mac (Mono)
- WebGL builds
3) Opening the Project
- In Unity Hub, click "Projects" in the side panel
- Select "Add project from disk"
- Navigate to and select the
/crew-dojo/Unityfolder - The project will open and automatically install necessary packages
- You can safely ignore any
.metafile exceptions in the console

Nakama Setup
Skip this section if you have already set up CREW Wildfire here
1) Installing Docker
- Download and install Docker
- Ensure Docker service is running on your system
2) Setting up Nakama Server
- Make sure you have Go version 1.18 installed
- Navigate to the "Nakama" folder in your Dojo repository
- Run the appropriate script for your OS:
- Windows:
run.bat - Linux/Mac:
run.sh - Verify that the
dojo-nakama-servercontainer starts running
It should look like this:

Note: If you encounter issues:
- If the Nakama container fails, try removing
go.modandgo.sumand run the script again - If you get a "vendor folder not exist" error, run:
3) Accessing Nakama Console
The Nakama console is available at http://127.0.0.1:7351/
- Default username:
admin - Default password:
password
Linux-Specific Configuration
If you're on Linux, you'll need to configure the Docker host:
- Open
/etc/hostsfile - Add the following line:
Navigating to Wildfire Project
Once everything is set up:
- In the Unity Editor's Project window
- Navigate to
Assets/Examples/Wildfire
The Wildfire project files are organized into several folders:
Configs/: Contains the configurations for the Nakama Server and Dojo BuilderControls/: Contains player and communication controlsMaterials/: Contains materials and textures for game objects and render imagesModels/: Contains 3D models for game assetsPrefabs/: Contains reusable assetsScenes/: Contains the Wildfire Unity scene and scene configurationsScripts/: Contains all scripts
Now if you navigate to Scenes/Wildfire.unity you will see the Wildfire Unity Scene:

After completing this setup, you'll have a development environment ready for customizing the Wildfire simulation. Check out Dojo Documentation for more information on the Dojo infrastructure. Then check out Environment Components for Wildfire specific components and customization.
Building Your Game
After making customizations, you can build your game using the Dojo Builder:
1) In the Unity Editor menu, locate "DojoBuilder"
2) Click "Build All"

3) Select DojoBuildWildfire if it is not already selected and enable it

4) Click "Build"

After building your game, you can now run algorithms on your environment as before.