Crauzer / lol2gltf

Convert between League of Legends mesh formats and the glTF runtime format
GNU General Public License v3.0
136 stars 20 forks source link

Converting a previously modded skn into gtfl returns an error. #39

Open TwirlingWitch opened 10 months ago

TwirlingWitch commented 10 months ago

I'm trying to edit an already modded file, but whenever I try to convert it, it returns with the following error:

Error: System.NotFiniteNumberException: value at SharpGLTF.Memory.FloatingAccessor.set_Item(Int32 rowIndex, Int32 subIndex, Single value) at LeagueToolkit.IO.Extensions.Utils.GltfUtils.SanitizeVertexNormalMemoryAccessor(MemoryAccessor[] memoryAccessors) at LeagueToolkit.IO.SimpleSkinFile.SimpleSkinGltfExtensions.CreateGltfMesh(ModelRoot root, SkinnedMesh skinnedMesh, Byte[] influenceLookup, IReadOnlyDictionary2 materials) at LeagueToolkit.IO.SimpleSkinFile.SimpleSkinGltfExtensions.ToGltf(SkinnedMesh skinnedMesh, IEnumerable1 textures) at lol2gltf.Pages.SkinnedMesh.ConvertToGltf(String gltfPath) in D:\a\lol2gltf\lol2gltf\lol2gltf\Pages\SkinnedMesh.razor:line 335 at lol2gltf.Pages.SkinnedMesh.Submit() in D:\a\lol2gltf\lol2gltf\lol2gltf\Pages\SkinnedMesh.razor:line 304

I can convert other skn files normally, so the program IS working.