Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TwirlingWitch opened this issue Nov 29, 2023 · 0 comments
Open

Comments

@TwirlingWitch
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant