Getting unlit mode while testing ingame

just wondering how i can get to test mode ingame while retaining access to the unlit rendering mode; it will just make it easier to create my level skeleton quicker while being able to create my meshes and textures, keeping to scale easily without having to fix how one side is constantly in shadow… Not sure whether can be done by a console command or not.


You can use the command “viewmode unlit” (without quotes) to switch to the unlit mode, there are also commands for many of the other modes which you can see here:
.unrealengine.com/latest/INT/Engine/UI/LevelEditor/Viewports/ViewModes/index.html#unlit

2 Likes

BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOM!

all sorted, thank very much that helped 1337 tons :slight_smile:

console command will be disabled in a packaged game.
In order to use unlit in a packaged game, simply add:
r.ForceDebugViewModes=1

to the DefaultEngine.ini under the [RenderSettings] or [/Script/Engine.RendererSettings]

2 Likes

can you do with the widget interaction debug line traces? or do you know of a code that does ?

You can do it, if:

  1. Add (r.ForceDebugViewModes=1) → (DefaultEngine.ini)

  2. In blueprint need call (Execute Console Command),
    and write there (viewmode unlit)…

01
02