These lines don’t appear to work in 4.22. I installed the Python Editor Script Plugin, and included the import unreal, but the following lines fail when I execute the python script from the Unreal Editor command line.
import unreal
Obj1 = unreal.AudioRecordingMode
The error I receive is:
LogPython: Error: AttributeError: 'module' object has no attribute 'AudioRecordingMode'
Same is true for:
Obj2 = unreal.SequenceRecorderSettings()
LogPython: Error: AttributeError: 'module' object has no attribute 'SequenceRecorderSettings'
Thanks in advance!