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

**URL:** <https://forums.unrealengine.com/t/how-do-i-modify-the-display-mode-of-a-published-game/615163>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** Debugging, unreal-engine, UE4, question\
**Created:** [July 27, 2022, 3:12am UTC](https://forums.unrealengine.com/t/how-do-i-modify-the-display-mode-of-a-published-game/615163 "2022-07-27T03:12:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MisakaCirno](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MisakaCirno](https://forums.unrealengine.com/u/MisakaCirno)\
**Post date:** [July 27, 2022, 3:12am UTC](https://forums.unrealengine.com/t/how-do-i-modify-the-display-mode-of-a-published-game/615163/1 "2022-07-27T03:12:31Z")

</div>

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?
