Unity3D error "Invalid Build path"

11,027

Solution 1

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

Solution 2

Just choose a location without space characters on it.

Solution 3

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

Solution 4

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

Share:
11,027

Related videos on Youtube

Checksum
Author by

Checksum

Updated on September 14, 2022

Comments

  • Checksum
    Checksum over 1 year

    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

    • Security Hound
      Security Hound almost 5 years
      Get rid of the spaces in the path.
  • Erel Segal-Halevi
    Erel Segal-Halevi over 4 years
    I had the same error while trying to save on drive D. The error was gone when I saved on C:\Temp.
  • s1ni5t3r
    s1ni5t3r over 4 years
    This has to be a bug but that seems to be the solution.