4.8P1: Execute Console Command only works every other time
Execute Console Command in Event Begin Play of Level Blueprint only works every other time when doing "play" in editor window: Selected Viewport and Simulate.
Create new blank project with 4.8 P1. Open Level Blueprint, add to Event Begin Play: Execute Console Command "stat fps"
Play. FPS are displayed. Stop. Play again. FPS are not there. Stop. Play third time: FPS are displayed again. This is consistent no matter how often you do this. Also tested with other projects.
asked May 06 '15 at 07:32 PM in Bug Reports
This is expected behavior in PIE, as your console command is affecting the editor and not the game proper. You can see this by entering the command in the editor (use the ~ key and type stat fps) once, then again. It will turn on with the first command, and off with the second. Using this in your Level Blueprint does the same thing. You'll note that after turning it on in the game, it remains on in your Viewport after you stop playing. This will not happen in a packaged game, as that console command only affects that instance of the game.
answered May 06 '15 at 09:33 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here