Dedicated Server optimizations
Dedicated Server AssetBundles
Build your application for Dedicated ServerYou can create a Dedicated Server build in either of the following ways:
Unity EditorTo create a Dedicated Server build in the Unity Editor, use the following steps:
Tip: You can further configure the Dedicated Server build in the Player settingsSettings that let you set various player-specific options for the final game built by Unity. More info
See in Glossary.
To create a Dedicated Server build using a script, set buildPlayerOptions.subtarget
to (int)StandaloneBuildSubtarget.Server
.
buildPlayerOptions.target = BuildTarget.StandaloneWindows;
// SubTarget expects an integer.
buildPlayerOptions.subtarget = (int)StandaloneBuildSubtarget.Server;
Command line
To create a Dedicated Server build through the command line, use the -standaloneBuildSubtarget Server
argument.
-buildTarget Linux64 -standaloneBuildSubtarget Server
Code sign macOS Dedicated Server builds
Dedicated Server builds that arenât code signed might display security warnings when deployed on macOS systems. To avoid such warnings, make sure you code sign the build before distribution. For more information, refer to the documentation on Code sign and notarize your macOS application. Â
Additional resourcesDedicated Server optimizations
Dedicated Server AssetBundles
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4