Hi @pastalapate
That code works perfectly on my machine
The issue looks to be related to UHT but often the cause is obscure.
I’m guessing you have done all these steps?
- Close Visual Studio and Unreal Editor
- Delete these folders: (You mentioned this earlier)
- Intermediate
- Binaries
- Saved
- Also try removing the .vs/ folder (if it exists)
- Right-click on your .uproject file and “Generate Visual Studio project files”
- Open the solution in Visual Studio
- Rebuild the solution using Clean Solution followed by Build Solution
- Restart your computer (sometimes this helps with stubborn build issues)
- Open the project again
Only other things I could think of:
- Using source control, stash your changes and see if the are any issues.
- Verify your UE install
- Make a new test project and try include
MeshBasicEditFunctions.h
- Compare your
MeshBasicEditFunctions.h
with the version on Epic Games GitHub for UE
Let me know if you do figure it out!