Cannot open source file name.generated.hc

This normally happens when you rename a blueprint, or changed its location. Check your c++ referencing the blueprint or its path in the file referencing it. Also note the _C at the end denotes that its a class which is generated but is not part of the actual name