Running the following script in the Editor, I see the target objects selected in the Content Browser.
import unreal as ue toselect = '/Game/Path/To/My1', '/Game/Path/To/My2', ] ue.EditorAssetLibrary.sync_browser_to_objects(toselect)
However, running the same script from commandlet, nothing happens in the Editor, except that a console window briefly shows up as screenshot below.
What’s different when calling the commandlet? Am I missing anything obvious?