simeonradivoev / UniGit

An open source GIT Unity3D editor plugin.
GNU General Public License v3.0
143 stars 16 forks source link

Could not find texture with key: lfs_object_small #35

Open XeonG opened 5 years ago

XeonG commented 5 years ago

I get a load of these errors in the GitLog using the UniGit package in a project on 2019.3b8

Could not find texture with key: lfs_object_small UniGit.GitLog:LogFormat(LogType, Object, String, Object[]) (at Library\PackageCache\uni-git@494d6981a5a52e60c384ff5d72327764338dddf2\Editor\GitLog.cs:48)

simeonradivoev commented 5 years ago

What version of Unity are you using? Also, are you using the latest version of the package?

XeonG commented 5 years ago

2019.3.0b8 and using the latest git version ie "uni-git": "https://github.com/simeonradivoev/UniGit.git"

simeonradivoev commented 5 years ago

I just tested it with Unity 2019.2.11f and made a fresh install of the package and got the error. Then I restarted the editor and the issue was gone. Must be an issue with the Unity Editor. Try and restart the editor and see if the issue persists.

XeonG commented 5 years ago

oh ok I removed it before restarting editor, but will try it again then

simeonradivoev commented 3 years ago

This happens when you first import the package. For some reason, the asset database isn't updated and the path to the icons returns null. If you restart unity that fixes it. I think this is a Unity issue.