Is there a setting to always run the built file with administrator privileges when performing exe build in unity?
if unity is run as administrator, i’d guess build & run would do the same.
or maybe create batch file to run it,
https://stackoverflow.com/a/6811394/5452781
I don’t know about this part. Are you saying that it is possible to automatically run the administrator through the bat file when executing the file after the build is finished?
to run custom files after build, would need some custom build processing
maybe this could be used to run .bat Unity - Scripting API: PostProcessBuildAttribute
There’s no built in setting to do this. However, as mgear pointed out you can run it yourself in PostProcessBuild callback.