As Im new to UE4 programming the docs can be really daunting and sometimes what you want help with is not answered on the forums , I wanted to create a LevelSequencePlayer , so first I created a LevelSequence variable that I can Pass it to just like in BluePrints.
But turns out it took me 4 hours to find that for a LevelSequencer Variable to work I need to add 1 header file: #include “Runtime/LevelSequence/Public/LevelSequence.h” and and one module in build.cs , out of which I dont know which worked . And then following this link :ULevelSequencePlayer::CreateLevelSequencePlayer | Unreal Engine Documentation and getting all my code to compile I get this error :
And yeah before I forget the parameter in the above link namely " FLevelSequencePlaybackSettings" is deprecated which Visual Studio told me otherwise there were more errors .
I know I am the only one to blame here since I cannot understand what is wrong but coming from unity, UE4 comer needs a clear cut understanding of c++ and pointers , I created this post so others dont fall into the trap of “come unity is easy , oh cool now ill try Unreal” NOPE UE4 is no joke when it comes to c++ .
Well, that’s right; Docs are lacking of examples or proper documentation here and there. On the other hands think about every API available it would be impossible to make example of everything especially because many API are context related and usually have more than one application.
Anyway including headers and modules is somewhat basic; things that you should normally learn when getting into UE4; Headers are being part of the C++ syntax, perhaps you should expect that something is not included if the compiler cannot find it, and modules are part of the UE4 building tool, which, like any other build tool cannot automagically find everything for you, perhaps you may want to specify those optional modules you want in your project; Guess you can find about the build tool in many tutorials to get started with UE4 programming
Long story short: You cannot pretend to know how a such big system like UE4 works, of course, but that doesn’t mean that you can use it without reading guides and stuff and blame it on the lack of documentation
Moved the thread from C++ Gameplay Programming to Off Topic.
The other option was Feedback, you don’t seem to be addressing Epic in particular.
If you feel this was in error, let me know
Otherwise, some on topic text now
There will never be enough documentation
Learning C++ - let alone UE4’s implementation of C++ - will take some time