1.3.0 Upgrade Fix: Cannot convert from 'method group' to 'Func<AssetDatabaseEntry, bool>'

Lazlo Bonin (Lead Developer) 1 year ago updated 1 year ago 1

When upgrading Peek from to v.1.3.0, unless you delete the package before reimporting, you will get the following error 3 times in the console:

Assets\Vendor\Ludiq\Ludiq.Peek\Editor\Creator\Fuzzy\CreateGameObjectOptionTree.cs(87,86): error CS1503: Argument 2: cannot convert from 'method group' to 'Func'

To fix it, simply:

  • Delete Ludiq/Ludiq.Peek/Editor/Utility/AssetDatabaseUtility.cs
  • Delete Ludiq/Ludiq.Peek/Editor/Utility/AssetDatabaseEntry.cs

Those files were deleted in the newest version, but Unity packages don't allow us to automatically delete files for users, so this conflict has to be resolved manually!

Unity Version:
Peek Version: