Skip to content

Installing custom .unitypackage missing version info #12

@ericraue

Description

@ericraue

I added a ReleaseSource to C:/Users/Eric/Projeny.yaml to the folder E:/UnityPackages, which contains .unitypackage files created from my own projects. They show up in the Releases panel but don't have a version number. When I try to install them I'm given the following error (from PrjLog):

Started EditorApi with arguments: E:\ProjenyProjectTest\Experiment\Projeny.yaml TTSDev windows installRelease testing [SharedUnityPackagesDir]
Installing release 'testing' into package dir '[SharedUnityPackagesDir]' with version code 'None'
Attempting to install release with ID 'testing' into package root '[SharedUnityPackagesDir]' and version code 'None'
int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Traceback (most recent call last):
  File "C:\Projeny\Source\prj\main\EditorApi.py", line 43, in run
    self._runInternal()
  File "C:\Projeny\Source\prj\main\EditorApi.py", line 105, in _runInternal
    self._releaseSourceManager.installReleaseById(releaseName, self._project, packageRoot, versionCode, True)
  File "C:\Projeny\Source\prj\reg\ReleaseSourceManager.py", line 119, in installReleaseById
    releaseVersionCode = int(releaseVersionCode)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'

Here's what the PrjLog says about the testing.unitypackage when I click the refresh button. It's missing the Version, VersionCode, and AssetStoreInfo.

CompressedSize: 521
FileModificationDate: 2016-02-16 06:55:11.599798
Id: testing
LocalPath: E:/UnityPackages\testing.unitypackage
Name: testing

I searched to see how to set the version of a package but came up empty. What am I missing? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions