A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs-multiplayer.unity3d.com/netcode/current/tutorials/command-line-helper/ below:

Create a command-line helper for testing

There's no standard out stream on Windows by default, so you need to view the Debug.log file for the outputs. You can find the Debug.log files in:

C:\Users\username\AppData\LocalLow\CompanyName\ProductName\Player.log

Where the CompanyName defaults to DefaultCompany for a new project and ProductName equals to the project's name.

You can also change the Windows commands to create a log.txt file in the same folder as your HelloWorld folder.

Change the commands as follows:

Server command:

<Path to Project>\HelloWorld.exe -logfile log-server.txt -mode server

Client command:

<Path to Project>\HelloWorld.exe  -logfile log-client.txt -mode client

Example (Running as a single command line):

C:\Users\sarao>HelloWorld\Build\HelloWorld.exe -logfile log-server.txt -mode server & HelloWorld\Build\HelloWorld.exe -logfile log-client.txt -mode client

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