Adding an Object class to a plugin's module using the C++ Class Wizard results in a compilation error due to attempts to edit the new class' generated.h file during the initial compilation attempt.
Error:
ERROR: 'D:/Unreal Projects/Main/MyProject4/Plugins/PluginTesting/Intermediate/Build/Win64/UE4Editor/Inc/PluginTesting/MyObject.generated.h': Changes to generated code are not allowed - conflicts written to 'D:/Unreal Projects/Main/MyProject4/Plugins/PluginTesting/Intermediate/Build/Win64/UE4Editor/Inc/PluginTesting/MyObject.generated.h.conflict'
Note: any subsequent compilations will succeed without any errors related to this process.
Regression?: No
This occurs in 4.20
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-68317 in the post.