Search Issue Tracker

In Progress

Fix In Review for 6000.0.30f1, 6000.1.0a7

Votes

1

Found in

6000.0.28f1

6000.1.0a5

7000.0.0a10

Issue ID

UUM-86875

Regression

No

User not able to download an Asset Store package if the data is corrupted with the publish dates

--

-

*Steps to reproduce:*

This is tricky to repro, we have to find an asset with corrupted data with the publish dates. But it is something we need to be aware of and not block users from actions if it is the case.

[Discussions link|https://discussions.unity.com/t/import-button-not-showing-in-package-manager/1542467]

*Actual results:* Errors in console about date time format 

*Expected results:* User is able to download and import

*Reproducible with versions:* 6000.0 6000.1 not tested in older versions but probably have the same behaviour

*Not reproducible with versions:* 

*Can’t test with versions:* 

*Tested on (OS):* 

*Notes:*

*Error in console:*
{code:java}
FormatException: String was not recognized as a valid DateTime.
System.DateTimeParse.Parse (System.ReadOnlySpan`1[T] s, System.Globalization.DateTimeFormatInfo dtfi, System.Globalization.DateTimeStyles styles) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
System.DateTime.Parse (System.String s) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
UnityEditor.PackageManager.UI.Internal.AssetStorePackageVersion..ctor (UnityEditor.PackageManager.UI.Internal.AssetStoreProductInfo productInfo, System.Int64 uploadId, UnityEditor.PackageManager.UI.Internal.AssetStoreLocalInfo localInfo, UnityEditor.PackageManager.UI.Internal.AssetStoreImportedPackage importedPackage) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStoreVersionList.CreateAndAddToSortedVersions (UnityEditor.PackageManager.UI.Internal.AssetStoreProductInfo productInfo, UnityEditor.PackageManager.UI.Internal.AssetStoreLocalInfo localInfo, UnityEditor.PackageManager.UI.Internal.AssetStoreImportedPackage importedPackage, System.Nullable`1[T] uploadId) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStoreVersionList..ctor (UnityEditor.PackageManager.UI.Internal.AssetStoreProductInfo productInfo, UnityEditor.PackageManager.UI.Internal.AssetStoreLocalInfo localInfo, UnityEditor.PackageManager.UI.Internal.AssetStoreImportedPackage importedPackage, UnityEditor.PackageManager.UI.Internal.AssetStoreUpdateInfo updateInfo) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStorePackageFactory.GeneratePackagesAndTriggerChangeEvent (System.Collections.Generic.IEnumerable`1[T] productIds) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStorePackageFactory.OnUpdateInfosChanged (System.Collections.Generic.IEnumerable`1[T] updateInfos) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStoreCache.SetUpdateInfos (System.Collections.Generic.IEnumerable`1[T] updateInfos) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStoreClientV2+<>c__DisplayClass27_0.<FetchUpdateInfos>b__0 (System.Collections.Generic.List`1[T] updateInfos) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStoreRestAPI+<>c__DisplayClass33_0`1[T].<CreateParseDictionaryCallback>b__0 (System.Collections.Generic.Dictionary`2[TKey,TValue] result) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.PackageManager.UI.Internal.AssetStoreRestAPI+<>c__DisplayClass34_2.<HandleHttpRequest>b__3 (UnityEditor.IAsyncHTTPClient request) (at <1f8babe234e540299e4f7387cdc20cd8>:0)
UnityEditor.AsyncHTTPClient.Done (UnityEditor.AsyncHTTPClient+State status, System.Int32 i_ResponseCode) (at <1f8babe234e540299e4f7387cdc20cd8>:0) {code}
*  

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.