You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Unity] Missing *.meta file for ResolverUtilities.cs #1388
Asset Packages/com.neuecc.messagepack/Resolvers/ResolverUtilities.cs has no meta file, but it's in an immutable folder. The asset will be ignored.
And thus
Library\PackageCache\com.neuecc.messagepack@3e624b9499\Resolvers\DynamicObjectResolver.cs(114,55): error CS0103: The name 'ResolverUtilities' does not exist in the current context
Additional context
Yes the installation via the .unitypackage works fine, but I do prefer the usage of the Package Manager which makes updating the asset a lot more convenient.
Activity
AArnott commentedon Jan 26, 2022
I'd be happy to take a PR to fix this. I don't use unity myself.
Added ResolverUtilitis.cs.meta, fix #1388
neuecc commentedon Jan 26, 2022
I've added PR #1389 .
Note:
missing meta is critical for Unity and sometimes we missed it.
my another repository, checking it on CI.
https://github.com/Cysharp/MessagePipe/blob/master/.github/workflows/build-debug.yml#L81-L89
Merge pull request #1389 from neuecc/fix-meta-missing
AArnott commentedon Jan 27, 2022
@neuecc How do the files get generated? The guid that's in there... is it just any unique guid?
neuecc commentedon Jan 27, 2022
.meta is generated when opening in Unity.
If .meta is not exists, create with unique GUID.
That is refered by Unity asset database.
In principle, I think it will work even if you give it a GUID outside of Unity.
However, it is still safer to have them generated in Unity.