How do I modify the display mode of a published game?

I was analyzing the map composition of a game, so I used Universal UE4 Unlocker to unlock the camera for observation.However, there are some areas with complex structures that I want to see in wireframe mode.

So I typed viewmode wireframe in the console to switch the display mode, but it told me: Debug viewmodes not allowed on consoles by default. See AllowDebugViewmodes().

After browsing some posts, I tried creating a DefaultEngine.ini file and adding: [RenderSetting]
r.ForceDebugViewModes=1
inside it, but that didn’t work either.
Later I learned that this operation needs to be done before the game is packaged.

Is there any other way to support me to turn on wireframe mode?

1 Like