Hi.
I have a similar problem in UE 4.12. The Compile button also disappears, not when I cancel the compilation, but after the compile is successfull. Here is my case…
I’m trying to use MS Kinect gesture recognition functions in Unreal. I have added all the needed PrivateIncludePaths and PublicAdditionalLibraries in Build.cs file of the unreal project. The compilation works ok.
The problem occurs when I try to use the function CreateVisualGestureBuilderFrameSource from the Kinect SDK. The compilation in Unreal Editor completes succesfully, but the Compile button dissapears.
I can run the game from the editor after that, but if I restart Unreal Editor, I get the following error when I open the same project again:
The game module 'SAFTDemosi' could not be loaded. There may be an operating system error or the module may not be properly set up.
I have managed to circumwent this by deleting the Binaries folder and commenting out the source code line that invokes CreateVisualGestureBuilderFrameSource. The editor then asks me to recompile when it opens the project, and that works, the project is opened normally.
Some additional info:
- I’m not sure if it matters, but I found out that this problem (disappearance of the compile button) happens regardless of whether if I invoke the function from which I call CreateVisualGestureBuilderFrameSource or not
- I have also tried to compile the project from Visual Studio, and the compilation is succesfull, but the project fails to open, with the same error message (The game module ‘SAFTDemosi’ could not be loaded…)
- I have tried to run another C++ project that uses CreateVisualGestureBuilderFrameSource and that program comiples and runs without problem (with the same include paths and additional libraries for Kinect)
If you need any more further info about this problem, I would be glad to help.