Are you running UE4 16.3 ? Is your VS version 2017? Did you try adding extra blank lines before UCLASS() ? header file you opened should be fine to reproduce. Though if you still can’t reproduce the error try it with a blueprint library class header file