Package Manager errors in cloud build in 2019
Build fails online in cloud build. Works fine locally. I’d prefer to use cloud build. Open to ideas on how to fix:
Errors: : [Unity] An error occurred while resolving packages: 72: [Unity] Project has invalid dependencies: 73: [Unity] com.unity.2d.sprite: Package [com.unity.2d.sprite@1.0.0] cannot be found 74: [Unity] com.unity.2d.tilemap: Package [com.unity.2d.tilemap@1.0.0] cannot be found 75: [Unity] com.unity.modules.androidjni: Package [com.unity.modules.androidjni@1.0.0] cannot be found 76: [Unity] com.unity.package-manager-ui: Package [com.unity.package-manager-ui@2.2.0] cannot be found 77: [Unity] com.unity.timeline: Package [com.unity.timeline@1.1.0] cannot be found
Have tried:
Updating manifest
Changing manifest list
Porting manifest list from a new project
Changing target to 2018.x
Have noticed others posting this same problem as of April of this year. Any fixes?
Answer by Arkitome · Jun 16, 2019 at 04:09 PM
-update: solution found, but requires downgrade -
Special kudos to victorw for suggesting a path forward to resolving the package build errors. https://forum.unity.com/threads/timeline-for-unity-2019-2-x-availability.664093/#post-4639396
The solution was to downgrade back down to 2018.2, which is better supported by cloud build. Then, in the iOS build profile change the build to use 2018.2.
And so if you found yourself in a situation where you just upgraded by a version or more and none of the above are working, then i'd suggest trying to downgrade and working your updates in a staggered fashion.
i make my project in version 2019 for college submission, but at last i need to submit in 2018 version, i download it and open the project with 2018 version but got this error in .json file. what to do? An error occurred while resolving packages: Project has invalid dependencies: com.unity.2d.tilemap: Package [com.unity.2d.tilemap@1.0.0] cannot be found com.unity.package-manager-ui: Package [com.unity.package-manager-ui@2.2.0] cannot be found com.unity.timeline: Package [com.unity.timeline@1.1.0] cannot be found
A re-import of the project may be required to fix the issue or a manual modification of C:/Users/lenovo/Documents/GitHub/Unity/UnityPathFinder/PrabinFinal/Part I/Packages/manifest.json file.
Your answer
Follow this Question
Related Questions
Unity Cloud Build - "Error: Failed to check out" for iOS build with SVN repository 1 Answer
Can't install profile for the Device Detection to install a Cloud Build shared IPA 0 Answers
Developing for ios: mac needed ? Which spec ? 1 Answer
Cloud build ios : This device was signed for the App Store and connot be installed 1 Answer
iOS Bundle ID has not been set up, Unity Cloud Build 1 Answer