viewmode unlit command not working on packaged project
It's pretty much all in the title. When I execute the console command "viewmode unlit" whether it's on event begin play or on a keypress it works just fine when I'm in the editor but when I package my project it doesn't work at all.
asked Feb 10 '16 at 07:53 AM in Rendering
The viewmodes are in Editor tools that are meant to debug your game/project so when you go to package, it runs as expected and is optimized. This is why we suggest you test in standalone mode and disable 'Realtime' in viewport when debugging for performance in order to closely resemble the final environment.
If you have further questions, please let me know.
answered Feb 16 '16 at 03:02 PM
The answer is to go to your projects Config Folder and open up DefaultEngine.ini Under the [RenderSettings] or [/Script/Engine.RendererSettings] add the following: r.ForceDebugViewModes=1
Now your viewmode console commands will work in a packaged game.
answered Sep 28 '17 at 02:38 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here