How can I change the output directors of webplayer builds?

I made my first test game in Unity 4.0.1 and build it as web game. it asked me for an output directory and i made a stupid choice.

How can I change the output directory when building for web?

If found the solution by now, deleting the build directory did not help thought.

By opening the build settings windows and pressing the build button (not build&run) it will ask again

Thanks for helping!

I’m not sure whether there’s an option for it in the Build Settings Wizard: Unity - Manual: Publishing Builds

But if not, a “quick & dirty” workaround might consist in doing one of the following:

  • explicitely deleting the target build directory
  • explicitely creating an arbitrary scripting error that will prohibit compilation

From my experience, both situations usually force the build process to prompt once more for the target directory upon starting the build.

Definitely not an elegant solution, but if it helps - better than anything :wink: