Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

4

Found in

2019.1

2019.3.0a3

Issue ID

1172818

Regression

Yes

VCS: addition of "ChangeSet changeset = null" argument to Provider.Checkout broke prebuilt assemblies in 2019.1+

Version Control

-

Provider.Checkout public API got a new optional argument for the changeset it should get checked out at. This however breaks precompiled assemblies, e.g. https://github.com/googlesamples/unity-jar-resolver/issues/262#issuecomment-515519308 ran into this.

The public API should get changed back to have:

- public static Task Checkout(string asset, CheckoutMode mode) // calls 2nd one with null
- public static Task Checkout(string asset, CheckoutMode mode, ChangeSet changeset)

Instead of one API entry point with a default argument.

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.