- Home /
Question by
ramybenaroya-ironsrc · May 02 at 09:32 AM ·
manifestdependenciesexport problempackaging
Add manifest.json dependencies to exported Unity Package
I have a unity package which is built via the AssetDatabase.ExportPackage
API.
The code in my package is depends on com.unity.ads.ios-support
. Is there a way to add com.unity.ads.ios-support
to my exported package as a dependency so it will be installed automatically in the project I install my package, meaning will be added to the manifest.json
in the target project?
Currently I just pack an additional Editor script that adds it to the manifest.json
, but it's just a hack.
Comment
Could you share your editor script? This is the conclusion I have also come to after looking around... not sure why the package manager is so annoying to use -_-
Your answer
![](https://koobas.hobune.stream/wayback/20220613060057im_/https://answers.unity.com/themes/thub/images/avi.jpg)