Console commands

One of the main debugging toolsets for a UE4 developer is the in-play console. We can do things like invoke game travel to different maps, flag various profiling and statistical captures and change render settings at run-time. In this chapter we will look at how we can connect to listen servers via the console, as well as some of the great rendering and profiling settings we can invoke. It is important to note that all of these commands are available in editor and can be very useful from within the editor as well.

Connecting to the local host

Right now your two game clients will both state "Press R to start game" as they are currently not part of an online session, therefore their net role will default to ROLE_Authority. With the ...

Get Unreal Engine 4.X By Example now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.