IOException: Failed to prepare target build directory. Is a built game instance running? UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.DeleteDestination (UnityEditor.Modules.BuildPostProcessArgs args)
make sure that you have already put scenes in build settings
if you have not follow these steps:-
go to files:-
click on build settings:-
go to your scenes directory in unity:-
drag and drop scenes in an order:-
now try:-
Here you go :) Consider liking Please ,,Thanks