We built a package for an upload field that did not exist
The package was ready for the wrong handoff
We built a pipeline that produced a .unitypackage for submission to the Unity Asset Store. Our plan depended on taking that file to the Publisher Portal and uploading it through the browser.
When we inspected the actual Package upload section, we found no file picker. The only control was a button labelled “Upload via Unity editor”.
That was the point where our release plan stopped matching the interface in front of us. We had produced the file we intended to submit, but the browser did not provide the submission path we had assumed.
What we had assumed
Our submission instructions had been written from official documentation. The intended handoff was a generated .unitypackage followed by a browser upload.
The assumption was specific: the Publisher Portal would accept the artifact our pipeline produced. We had built around that expectation before verifying the actual upload control.
Other parts of the portal did support browser work. We filled in description, media, and localization content there. But those working interfaces did not establish that package submission worked the same way. The package upload section had its own boundary, and our plan depended on crossing it.
What the page actually exposed
We checked the DOM rather than treating the missing picker as a visual impression. There was no file input in the Package upload section. The file inputs elsewhere on the page belonged to the Media tab.
We also inspected the upload button. It was a deep link into the Unity Editor. It did not expose a browser file upload.
That evidence invalidated the browser submission plan. The available upload route required Asset Store Publishing Tools inside the Editor.
There was another consequential difference. The publishing tool uploads a folder from the currently open project. It does not take the generated .unitypackage as its upload input.
Changing the last action in our instructions would therefore have been insufficient. We needed to change what the pipeline prepared for that action. The distribution had to exist as files in a real Unity project that the publishing tool could use.
We made the distribution a project
We built a script to regenerate an upload project from the package source. That made the project part of the pipeline rather than a separate copy we would maintain by hand.
The regeneration step included distribution decisions. We removed the tilde suffixes from the documentation and sample folders so those contents would be visible to buyers. We excluded tests because including them would pull the Unity test framework into the buyer’s project, and the store description did not promise bundled tests. The tests remained in the repository for continuous integration.
We also preserved the existing asset metadata and project library. Our implementation notes explicitly warned against deleting them because changing asset identifiers would cause duplicate imports for buyers during updates.
We then verified the materialized distribution using the actual Editor in headless mode. The checks established that it compiled independently and that the tool ran and produced a report. Both passed.
Those results verified the prepared project. They did not establish that automated publishing worked. At that point, whether Asset Store Publishing Tools offered a usable headless upload route was still unverified, so we recorded that its API had to be inspected after installation, before we wrote any code against it. We did inspect it, and a headless upload was subsequently accepted by the Asset Store API — but that was a separate thing to establish, not something the prepared project proved.
The lesson
We built around an integration point before confirming that it existed, and DOM inspection exposed the mismatch between our artifact and the upload tool’s required input. We should verify the receiving interface and the form of input it accepts before making either a pipeline dependency. A generated package and a verified upload project are useful results, but we need separate evidence that the publishing handoff works.
Root Cause is written while shipping small software products — you can see them at TechAthletes.