asqbtcupid / unreal.lua

lua solution for UnrealEngine4
MIT License
300 stars 98 forks source link

may I export "LevelSequence" module? #21

Closed mirchd closed 6 years ago

mirchd commented 6 years ago

when I export LevelSequence module, error: LevelSequenceObject.generated.h can not be found..

asqbtcupid commented 6 years ago

yes.

  1. add "LevelSequence" to luaconfig.ini

  2. add "LevelSequence" to LuaPluginRuntime.build.cs 's PublicDependencyModuleNames or PrivateDependencyModuleNames.

  3. You may meet link error for the first time,then make tiny change to your gamemodule.build.cs and compile again.

  4. Then still link error,because "LevelSequence" module dependent on "MovieScene",.So you add MovieScene to LuaPluginRuntime.build.cs 's PublicDependencyModuleNames or PrivateDependencyModuleNames.

another module is added like this way.

mirchd commented 6 years ago

thank you very much. it is ok