With C#, it’s very hit or miss.
So when I tried to rename a variable named “buildDir” to “buildBaseDir”, I end up with something like “bbuildBaseDiraseDir” instead.
Also, I tried changing another variable “projectName” to “defaultProjectName” but it end up overwriting and replacing existing text:
string projectName = PlayerSettings.productName;
became:
string defaultProjectNamettings.productName;
And on another line, instead of the variable that was supposed to be renamed, it overwrote the wrong text:
buildPath = baseDir + projectName + targetPrefix[i];
became:
buildPath = baseDir + projectName + tdefaultProjectName