drewnoakes / metadata-extractor-dotnet

Extracts Exif, IPTC, XMP, ICC and other metadata from image, video and audio files
Other
922 stars 164 forks source link

Does it works with unity game engine? #346

Closed UsmanKhanLodhi closed 10 months ago

UsmanKhanLodhi commented 10 months ago

Hello,

I'm currently working on integrating it with my Unity project. However, I've encountered some issues. It seems that the metadata extractor is not being found. Interestingly, when I integrate it into a .NET console project, it works perfectly. Could you please provide some guidance on the settings so that I can successfully use it with the Unity game engine?

Thank you!

drewnoakes commented 10 months ago

I'm not familiar enough with Unity to say, but I can't see any reason it wouldn't work. What error do you see?

songjihu commented 10 months ago

I've tried it in Unity, and it works. You just need to place the compiled DLL into the 'Assets' directory. I'm using VS2022 and Unity 2021.3.10f1. 我在unity里试过了,可以的,把编译出来的dll放进asset目录就可以了。我用的是vs2022 和 unity2021.3.10f1

drewnoakes commented 10 months ago

Thanks for confirming and providing steps to get it working. Closing this for now.

UsmanKhanLodhi commented 9 months ago

Hello , Is their any solution ? The error is :

"Assembly 'Assets/MetadataExtractor.dll' will not be loaded due to errors: Unable to resolve reference 'XmpCore'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector."

songjihu commented 9 months ago

Hello , Is their any solution ? The error is :

"Assembly 'Assets/MetadataExtractor.dll' will not be loaded due to errors: Unable to resolve reference 'XmpCore'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector." Put XmpCore.dll file into Assets folder too

UsmanKhanLodhi commented 9 months ago

Hello , Is their any solution ? The error is : "Assembly 'Assets/MetadataExtractor.dll' will not be loaded due to errors: Unable to resolve reference 'XmpCore'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector." Put XmpCore.dll file into Assets folder too

Could you share a test project with me ?

songjihu commented 9 months ago

Hello , Is their any solution ? The error is : "Assembly 'Assets/MetadataExtractor.dll' will not be loaded due to errors: Unable to resolve reference 'XmpCore'. Is the assembly missing or incompatible with the current platform? Reference validation can be disabled in the Plugin Inspector." Put XmpCore.dll file into Assets folder too

Could you share a test project with me ?

I can share my dll files. These files worked in my project. Metadata.zip