Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
schumab's avatar
schumab
Honored Guest
11 years ago

(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.

7 Replies

Replies have been turned off for this discussion
  • As a short term fix, you can replace EditorApplication.currentScene with "Assets/Tuscany/Scenes/VRDemo_Tuscany.unity" in OVR/Editor/OVRBuild.cs.
  • schumab's avatar
    schumab
    Honored Guest
    "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.
  • schumab's avatar
    schumab
    Honored Guest
    "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.
  • "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

    ?
  • 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.