C4430 In MeshBasicEditFunctions.h

Hi @pastalapate

That code works perfectly on my machine :sad_but_relieved_face:

The issue looks to be related to UHT but often the cause is obscure.

I’m guessing you have done all these steps?

  1. Close Visual Studio and Unreal Editor
  2. Delete these folders: (You mentioned this earlier)
  • Intermediate
  • Binaries
  • Saved
  1. Also try removing the .vs/ folder (if it exists)
  2. Right-click on your .uproject file and “Generate Visual Studio project files”
  3. Open the solution in Visual Studio
  4. Rebuild the solution using Clean Solution followed by Build Solution
  5. Restart your computer (sometimes this helps with stubborn build issues)
  6. Open the project again

Only other things I could think of:

  1. Using source control, stash your changes and see if the are any issues.
  2. Verify your UE install
  3. Make a new test project and try include MeshBasicEditFunctions.h
  4. Compare your MeshBasicEditFunctions.h with the version on Epic Games GitHub for UE

Let me know if you do figure it out!