Hot-Not Working and have to rebuild project all the time

Hi everyone,
Im new to Unreal Engine. I just started going through some documentation and getting some workdone. But most of the time the Hot-Reload functionality does not work. Why is that? is there a way to fix this ? And sometimes i get this kinda error. (Please refer the image below).

Also there is another thing. Where when i start Unreal Engine, somehow it starts with an old code build initially. Then i have to rebuild again the project to get everything upto date. Is there something i can do about this issue ?

Is VertexFactory one of your classes? If so then it looks like you need to include FMeshDrawSingleShaderBindings in the VertexFactory.h or forward declare it.

The issue with builds being denied might be because of other failed builds etc, or it might be your source control if you’re using it. Are you using perforce? If so then you’ll want to either not commit your built binaries to Perforce or you’ll want to ‘change filetype’ within P4V to set them as writable (w flag). You might also want to limit the number of versions stored as binary files can always be rebuilt from the source (s flag).

As for hot-reload. It could be because of the above errors, or it could be something else. You first want to make sure that VS always successfully compiles and if you’re still having problems specific to hot reload, put the error log here.

@phil_me_up Thank you for responding. No from what i understand i do not use VertexFactory.h explicitly. But the project ignoring the previous build kinda resolved by deleting Binaries and Intermediate folders inside the project directory. And no I do not use source control yet. I have just created a project with simple Pawn class and some logic in it.