prefrontalcortex / UnityGLTF

Runtime GLTF Loader for Unity3D
MIT License
163 stars 41 forks source link

Cannot implicitly convert type 'string' to 'UnityGLTF.GLTFSceneExporter.TextureMapType' #64

Closed ROBYER1 closed 2 years ago

ROBYER1 commented 2 years ago

I seem to get this error when using UnityGLTF 1.17.0-pre with Needle Engine 2.29.0-pre, Needle Exporter 2.33.0-pre, Unity 2022.1.16f1 on Windows 11

Library\PackageCache\com.needle.engine-exporter@2.33.0-pre\Gltf\Runtime\Experimental\Utils.cs(22,10): error CS0029: Cannot implicitly convert type 'string' to 'UnityGLTF.GLTFSceneExporter.TextureMapType'

Repro minimal project: newProject-221012_uw.zip

hybridherbst commented 2 years ago

Did you update UnityGLTF manually? 🧐

Please don't do that - depenendencies are there for a reason. We're updating the dependency when Needle Engine is ready/compatible with a new UnityGLTF version, which is usually a matter of hours (as now - latest has 1.17 as dependency) or days. Also, this would be a Needle Engine bug, not a UnityGLTF bug 😀