The console commands do not execute from Python if optional PlayerController parameter is not filled.
Tested in 4.20.3 (CL- 4369336), 4.21.2 (CL - 4753647), 4.22 (CL - 4902349)
import unreal editor = unreal.EditorLevelLibrary.get_editor_world() console_command = 'stat fps' unreal.SystemLibrary.execute_console_command(editor, console_command)
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-69604 in the post.
2 |
Component | UE - Editor - Workflow Systems |
---|---|
Affects Versions | 4.22, 4.20.3, 4.21.2 |
Target Fix | 4.22 |
Created | Feb 5, 2019 |
---|---|
Resolved | Feb 13, 2019 |
Updated | Jan 22, 2024 |