Checksum
Checksum

Reputation: 317

Unity3D error "Invalid Build path"

When I try to build any type of game using Unity, it is giving me this error:

Invalid build path: c:/users/dell/desktop/projects/unity projects/fox the game UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

What the error looks like

It does this with any path

I can't seem to find any reason for this error. I am building on WebGL with 2D graphics.

Version: Unity 2019.1.1f1 Personal

Upvotes: 11

Views: 20894

Answers (7)

Marta
Marta

Reputation: 1

I was having that error trying to put it in the desktop. Then I created a new empty folder in the desktop and it worked.

Upvotes: 0

Ali Ihsan Elmas
Ali Ihsan Elmas

Reputation: 194

I don't know why it worked but when I chose "downloads" as the exporting path, the error has gone.

Upvotes: 13

Polina Bobrova
Polina Bobrova

Reputation: 39

If you are a MacOS user set the path fully. So go to MacBook > Machintosh HD > Users > user and make a folder there.

Upvotes: 0

Devender Singh
Devender Singh

Reputation: 61

Just go to desktop -> create new folder -> and select that folder -> you are done

Upvotes: 6

farooq awan
farooq awan

Reputation: 11

Go to Player settings -> other Settings Under Target Architectures Uncheck the split APKs by Target Architecture

Upvotes: 1

Agadev
Agadev

Reputation: 1

Just select another path of your project (downloads or in a directory next to your project)

Upvotes: 0

Evandro Abu Kamel
Evandro Abu Kamel

Reputation: 71

Just choose a location without space characters on it.

Upvotes: 5

Related Questions