Question by
ccw3 · Jun 27, 2017 at 10:28 AM ·
batchmodeunitypackageexport problemmissing-reference
Unity editor export package different behaviour in batchmode command line exportPackage option
Hi,
I would like to export a unitypackage from command line, instead of Unity Editor "Export package" menu function. I'm calling UnityEditor in batchmode with -exportPackage command line option but I have a different behaviour.
From the editor I can export a unitypackage even with missing C# imports (i.e assembly references .. of course, build fails), but I cannot do it from command line because in batchmode Unity try to build the solution.
How can I export unitypackage from command line with the same Unity Editor behaviour? Thanks in advance!
Comment
Answer by J_P_ · Jun 13, 2020 at 12:43 AM
Any update on this? Want to have jenkins build a unitypackage as part of its build sequence but the file just isn't created.