Hi there,
I have taken a script from another project I’m working on that does some post build processing. Right now I’ve stripped it right back to just renaming the game’s data folder (game_data/) to just “data/”.
This works fine in the project I’ve taken it from, however in this project I continue to get this error:
IOException: Failed to Move File / Directory from 'D:\Game Development est-game\Build\Test Game_Data\' to 'D:\Game Development est-game\Build\data\'.
The only code I’m using is by supplying those two directories to:
FileUtil.MoveFileOrDirectory(from, to);
Any help is much appreciated!