I also solved the build issue, so I’m posting it here. The problem I ran into seemed to be a typical issue that occurs when doing hot reload with the UE Editor open.
To be precise, it seems that editing header files with the Editor open is not recommended.
Closing the Editor and compiling from the IDE achieved my goal without any issues. But as others have said, this is a development experience that significantly worsens the development lifecycle. I’m going to move forward again, having learned a lot of the knowledge already shared, such as Live++ and exposing variables to Blueprints.