Skip to main content
Participant
June 10, 2014

(Solved)Unity 4.5 Pro Build Error Mac OS X 10.9.3

Hi I cannot get the standalone player to build, I tried searching the forums and google before posting here. The editor runs just fine.

I get an error message: Error building Player: ArgumentException: Path is empty

I tried creating two new projects, one with each integration package 0.2.5c and 0.3.2. They both worked with Unity 4.3.4.

Any assistance would be greatly appreciated.
    This topic has been closed for replies.

    7 replies

    Inspiring
    June 10, 2014
    As a short term fix, you can replace EditorApplication.currentScene with "Assets/Tuscany/Scenes/VRDemo_Tuscany.unity" in OVR/Editor/OVRBuild.cs.
    schumabAuthor
    Participant
    June 10, 2014
    "vrdaveb" wrote:
    As a short term fix, you can replace EditorApplication.currentScene with "Assets/Tuscany/Scenes/VRDemo_Tuscany.unity" in OVR/Editor/OVRBuild.cs.


    That doesn't appear to fix the problem, thanks for that though.

    I restarted Unity after changing that file. Is there something else I need to do?

    If it helps the build process breaks at postprocessing.

    Thanks again.
    schumabAuthor
    Participant
    June 10, 2014
    "schumab" wrote:
    "vrdaveb" wrote:
    As a short term fix, you can replace EditorApplication.currentScene with "Assets/Tuscany/Scenes/VRDemo_Tuscany.unity" in OVR/Editor/OVRBuild.cs.


    That doesn't appear to fix the problem, thanks for that though.

    I restarted Unity after changing that file. Is there something else I need to do?

    If it helps the build process breaks at postprocessing.

    Thanks again.


    Alright so you pointed me in the right direction, the problem I was having was because I needed to specify the full path for the output file instead of just "Client.app". I discovered this after reading the Unity docs for the Build Player Pipeline. Located here: http://docs.unity3d.com/Manual/BuildPlayerPipeline.html.

    I appreciate your help, thank you.

    Ya'll should probably update the files included to reflect official documentation, this threw me off for hours. The error message isn't exactly descriptive of which path is empty.
    Inspiring
    June 13, 2014
    Thanks for following up on this.
    AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
    Up and Coming
    July 2, 2014
    "Error building Player: ArgumentException: Path is empty"


    I am getting this same error on windows 7, Unity 4.5, and Oculus SDK v0.3.2 Preview 2 (although I had just upgraded from accidentally installing v0.2.5c (both using the OculusUnityIntegration.unitypackage)


    When I try to Build&Run from the Oculus drop down: "Error building Player: ArgumentException: Path is empty"
    But the scene builds successfully when I go to File, Build&Run

    ?
    http://www.quitenice.co
    Inspiring
    July 2, 2014
    Please use the standard Unity build dialogs instead of the Oculus dropdown. You can find them at File > Build Settings... and File > Build & Run. The ones we add in the Oculus menu are really for internal use and will not be present in the next release.
    Up and Coming
    July 2, 2014
    ah, ok! thanks for clearing that up
    http://www.quitenice.co