Is there any automatic way to change all the Blurprint to C++ code?

May I know why the need to change to C++? Most probably because you are finding BP slow?
If I were you, I will do the followings in order:-

  1. Rename the bp class from to . This is my preference so that I can create a C++ class named xxxx that xxxxbp will inherit from.
  2. After inheritance is done, then probably the slowness is coming from tick function. Just convert this and be done with it…

So there is no automatic way (maybe you will want to do it the quickest way, but AFAIK none).