Announcement

Collapse
No announcement yet.

pythonscriptCommandlet looked like a commandlet, but we could not find the class.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    pythonscriptCommandlet looked like a commandlet, but we could not find the class.

    I am Using Unreal 4.21

    i use this method ,but get the error :
    C:\Program Files\Epic Games\UE_4.21\Engine\Binaries\Win64>UE4Editor-Cmd.exe -run=pythonscript -script="C:\workspace\test.py"
    [2019.03.29-14.50.40:571][ 0]LogInit: Error: pythonscriptCommandlet looked like a commandlet, but we could not find the class. [2019.03.29-14.50.40:571][ 0]LogInit: Error: pythonscriptCommandlet looked like a commandlet, but we could not find the class. [2019.03.29-14.50.40:573][ 0]LogExit: Preparing to exit. C:\workspace\test.py is :

    print 'helloworld'

    #2
    You need to set the PythonScript "EnableByDefault" property to true.

    More info here:
    https://forums.unrealengine.com/deve...e-command-line

    Comment

    Working...
    X