[4.3] Game module could not be loaded

So, I recently switched my project’s engine version from 4.2 to 4.3. I generated project files, opened up Visual Studio, compiled and then I got

The game module ‘MyProject’ could not be loaded. There may be an operating system error or the module may not be properly set up.

Then a breakpoint is activated and takes me to the DelegateSignatureImpl.inl to to the following line specifically: 1852

			if ((DelegateInstanceInterface == nullptr) || !DelegateInstanceInterface->ExecuteIfSafe(FUNC_PARAM_PASSTHRU))
			{
				const_cast<BASE_MULTICAST_DELEGATE_CLASS*>(this)->RequestCompaction();
			}

I already did all the changes related to upgrading to 4.3 such as replacing the OVERRIDE macros and adding the AIModule in the publicdependency modules for my AI related classes.

On a sidenote, I had to delete (backup actually) all of my Behavior Tree tasks as there are things I cannot fix there.
All of these errors are in the BTTask_BlueprintBase.h and show undeclared identifiers and missing “;” but this is probably related to changes in the way Behavior Trees work in 4.3. Still, not using it still brings me errors.

I am not compiling from the Github build. I downloaded 4.3 preview from the launcher.

Can I just confirm that you’ve built the “Development Editor” configuration for your project.

Yes, Development Editor.

Well, apparently my problem was related with the compiler . It did not detect I had deleted the classes from the folder and solution. I had to replace my project again with my 4.2 backup and switch to 4.3 again.

Once it was there, I deleted the files again and it did detect they were missing but I got compile errors. For some reason, it was still looking for the .generated.h files. I added the classes again and replaced them with blank classes and only after that I could delete the files. Weird.