• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by leejh3473 · Aug 16, 2018 at 08:26 PM · error messageerror build

Exception: Deployment failed. Output:

I'm using PC and Microsoft Mixed reality headset. I got this error when I hit "Build and Run." What does this mean?

Exception: Deployment failed. Output: Length cannot be less than zero. Parameter name: length Manifest files is not valid:D:\Documents\Grace\ZEDAndMixedRealityheadset\Builds\build\bin\x64\Release\AppxManifest.xml

ApplicationLauncherImpl.RunOnLocalMachine (System.String commandLine) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:200) ApplicationLauncherImpl.Run (.VisualStudio vs) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:164) ApplicationLauncher.BuildAndRunOnSingle (BuildLaunchPlayerArgs args, WSABuildAndRunDeployTarget deployTarget, .VisualStudio vs) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:51) ApplicationLauncher.BuildAndRun (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ApplicationLauncher.cs:37) UnityEditor.WSA.BuildPostprocessor.LaunchPlayer (BuildLaunchPlayerArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:112) UnityEditor.PostprocessBuildPlayer.Launch (BuildTargetGroup targetGroup, BuildTarget buildTarget, System.String path, System.String productName, BuildOptions options, UnityEditor.Build.Reporting.BuildReport buildReport) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:174) UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

Comment
julesradu

People who like this

1 Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Trevdevs · Aug 16, 2018 at 10:38 PM 0
Share

Do you have visual studio installed with your needed IDE's?

avatar image leejh3473 Trevdevs · Aug 17, 2018 at 05:04 AM 0
Share

Visual Studio is installed, but I don't know what IDE is.

avatar image LT23Live · Dec 28, 2020 at 07:14 AM 0
Share

Did anyone find the answer?

4 Replies

  • Sort: 
avatar image

Answer by UDN_bf854b32-b089-4b56-887c-0e0e33d6c3cf · Nov 03, 2018 at 10:01 AM

I have the same error, how is this resolved?

Comment

People who like this

0 Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LT23Live · Dec 28, 2020 at 06:22 AM 0
Share

Did you ever find out how to fix this?

avatar image

Answer by Seathan · Apr 27, 2020 at 01:31 AM

I need an answer to this too !

Comment

People who like this

0 Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LT23Live · Dec 28, 2020 at 06:21 AM 0
Share

Did you have any luck?

avatar image

Answer by julesradu · May 07, 2020 at 06:23 AM

Same problem here, but building a basic unity project (not mixed reality).

I just created an empty project in Unity 2018.4.21f1, set it to build for UWP / IL2CPP. Error is:

BuildFailedException: Deployment failed. Output: Length cannot be less than zero. Parameter name: length Manifest files is not valid:C:\Users\iuli\Desktop\IL2CPP_Test2\APP2\build\bin\x64\Release\AppxManifest.xml

Is there a solution ?

Comment

People who like this

0 Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LT23Live · Dec 28, 2020 at 06:21 AM 0
Share

Did you find the answer to your problem?

avatar image LT23Live · Feb 14, 2021 at 06:00 PM 0
Share

What i did that kind of solved it was first build a master build (not build and run). Then build and run. Even when it failed to run, it still made the package. Once the build was installed this was not a problem any longer.

avatar image

Answer by LT23Live · Dec 28, 2020 at 05:46 AM

Still problematic in Unity 2018.3.6

Comment
Arik_Cool

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Unity Answers is in Read-Only mode

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta by June 9. Please note, Unity Answers is now in read-only so we can prepare for the final data migration.

For more information and updates, please read our full announcement thread in the Unity Forum.

Follow this Question

Answers Answers and Comments

95 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 2017 is not working. 2 Answers

XCode 10.1 Undefined symbols for architecture arm64. Linker command failed with exit code 1 - How can we fix that? 0 Answers

OperationCanceledException: Failed to prepare target build directory. Is a built game instance running? 0 Answers

When i try to build my game... Issues occur 3 Answers

I can't build my unity HDRP progect. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges