Blueprint variables inherited from C++ are sometimes reset

What you are saying is true. I guess I did not fully understand what your problem was, however, one thing to take into consideration is that UE4 tries to use the Hot Reload feature where applicable, maybe it is not the file that is being corrupted, it is a new one being produced, with the default values.