cannot open source file "UDynamicMesh.h"

Right click your .uproject file and regenerate the project.