Unity-GUID icon indicating copy to clipboard operation
Unity-GUID copied to clipboard

Installing package from git missing assembly reference

Open BurritoBushido opened this issue 2 years ago • 2 comments

Library\PackageCache\com.stoneshelter.guid@178bde625e\Scripts\GUID.cs(34,58): error CS1061: 'GUID[]' does not contain a definition for 'Where' and no accessible extension method 'Where' accepting a first argument of type 'GUID[]' could be found (are you missing a using directive or an assembly reference?)

Adding System.Linq makes the error go away but the StoneShelter namespace isn't available to use.

BurritoBushido avatar May 07 '23 15:05 BurritoBushido

I just tried updating to the latest commit @178bde6, and I'm having the same error.

For now, I reverted to the previous working commit: https://github.com/stonesheltergames/Unity-GUID/commit/bb6a5359cc8bfd8889a7a214309885ac1506e73d

andreiagmu avatar Sep 20 '23 02:09 andreiagmu

I got this error too when trying to install via git in the Package Manager. Is there any fix there?

Update: you can add a specific commit to the URL being installed in the package manager: https://github.com/stonesheltergames/Unity-GUID.git#bb6a5359cc8bfd8889a7a214309885ac1506e73d

dvandersluis avatar Mar 13 '24 15:03 dvandersluis