Siccity / GLTFUtility

Simple GLTF importer for Unity
MIT License
996 stars 218 forks source link

error CS0117: 'ImportSettings' does not contain a definition for 'useLegacyClips' #246

Open XRlabTech opened 6 months ago

XRlabTech commented 6 months ago

Just wondering if someone has come across this error while working with Ready Player Me and unity3d.

I have tried all the fix suggestions without luck I believe it has something to do with the GLTF library version

This is the line of code

Importer.ImportGLBAsync(avatarBytes, new ImportSettings() { useLegacyClips = true }, OnImportFinished);

Assets\Plugins\Wolf3D Ready Player Me SDK\Scripts\AvatarLoader\AvatarLoader.cs(51,77): error CS0117: 'ImportSettings' does not contain a definition for 'useLegacyClips'