cannot build with level sequence variable

Hey, I have error when building code with ULevelSequence variable. I include

"Runtime/LevelSequence/Public/LevelSequence.h" 

header and after building I get error

\epic games\4.11\engine\source\runtime\levelsequence\public\LevelSequenceObject.h(5): fatal error C1083: Cannot open include file: 'LevelSequenceObject.generated.h': No such file or directory

Can anyone please explain to me how to fix it? :C The idea is to have TAssetPtr variable so I can import reference to file from CSV files

ok, adding “LevelSequence” to public modules in build.cs helped

2 Likes