Hello.
I have a script where I can import a defined FBX by running the python script inside unreal in the "output log" tab. It works fine and creates the assets etc.
Now I want to do the same thing but from a command line. I added the folder where the "UE4Editor-Cmd.exe" is located to windows path so I can call the UE4Editor-Cmd from a cmd prompt anywhere.
And then I just type in something similar to what the documenation says, but obviously my own script.
And the script runs, and it reports the exact same thing as when running it inside UE4 and it takes similar time. However the UAsset does never show up in the content browser (or the explorer) when I run it from the command line. What am I missing here ?
I have a script where I can import a defined FBX by running the python script inside unreal in the "output log" tab. It works fine and creates the assets etc.
Now I want to do the same thing but from a command line. I added the folder where the "UE4Editor-Cmd.exe" is located to windows path so I can call the UE4Editor-Cmd from a cmd prompt anywhere.
And then I just type in something similar to what the documenation says, but obviously my own script.
Code:
UE4Editor-Cmd.exe -run=pythonscript -script="c:\my_script.py"
Comment