For easy deployment on servers, we provide an executable version of Unity instead of having to setup the editor. The code automatically looks for a binary in the path furniture/binary/Furniture.app
or furniture/binary/Furniture.x86_64
.
To build your own binary, follow the steps:
- Open
All
scene in the Unity editor. - Go to
File > Build settings
. - Check the scene
All
to build. If the scene is not on the list, clickAdd Open Scenes
. - Set an appropriate target platform (Mac OS X, Windows, or Linux).
- Set
x86_64
for Architecture. - Do not check
headless mode
(it will not render anything). - Click
Build
. - Check whether all files are created.
For macOS, only
Furniture.app
is generated. For Ubuntu,Furniture.x86_64
andFurniture_Data/
are generated.