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

Can't convert Nami base skin #29

Open
sweetriverfish opened this issue Apr 23, 2023 · 3 comments
Open

Can't convert Nami base skin #29

sweetriverfish opened this issue Apr 23, 2023 · 3 comments

Comments

@sweetriverfish
Copy link

I have used Obsidian to extract Nami's base skin and tried to convert it to glTF but it failed with some long. I then tried the older version, 2.0.1, and it worked.
image(14)

@QuePast
Copy link

QuePast commented Aug 12, 2023

Same problem

nami
Unhandled exception. System.NotFiniteNumberException: value
at SharpGLTF.Memory.FloatingAccessor.set_Item(Int32 rowIndex, Int32 subIndex, Single value)
at SharpGLTF.Memory.Vector3Array.set_Item(Int32 index, Vector3 value)
at SharpGLTF.Memory.EncodedArrayUtils._CopyTo[T](IEnumerable1 src, IList1 dst, Int32 dstOffset)
at SharpGLTF.Memory.Vector3Array.Fill(IEnumerable1 values, Int32 dstStart) at LeagueToolkit.IO.Extensions.Utils.GltfUtils.CreateVertexMemoryAccessors(IVertexBufferView vertexBuffer)+MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator1.ToArray()
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at LeagueToolkit.IO.SimpleSkinFile.SimpleSkinGltfExtensions.CreateGltfMesh(ModelRoot root, SkinnedMesh skinnedMesh, Byte[] influenceLookup, IReadOnlyDictionary2 materials)
at LeagueToolkit.IO.SimpleSkinFile.SimpleSkinGltfExtensions.ToGltf(SkinnedMesh skinnedMesh, RigResource rig, IEnumerable1 textures, IEnumerable1 animations)
at lol2gltf.CLI.Program.ConvertSkinnedMeshToGltf(SkinnedMeshToGltfOptions options) in D:\a\lol2gltf\lol2gltf\lol2gltf.CLI\Program.cs:line 66
at lol2gltf.CLI.Program.<>c.

b__0_0(SkinnedMeshToGltfOptions opts) in D:\a\lol2gltf\lol2gltf\lol2gltf.CLI\Program.cs:line 31
at CommandLine.ParserResultExtensions.MapResult[T1,T2,T3,TResult](ParserResult1 result, Func2 parsedFunc1, Func2 parsedFunc2, Func2 parsedFunc3, Func`2 notParsedFunc)
at lol2gltf.CLI.Program.Main(String[] args) in D:\a\lol2gltf\lol2gltf\lol2gltf.CLI\Program.cs:line 28
Traceback (most recent call last):
File "C:\Users\Admin\Desktop\bone\proc\filter.py", line 34, in
subprocess.run(cmd_args, shell=True, check=True)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['lol2gltf.CLI.exe', 'skn2gltf', '-m', 'C:\Users\Admin\Desktop\bone\proc\assets\characters\nami\skins\base\nami.skn', '-s', 'C:\Users\Admin\Desktop\bone\proc\assets\characters\nami\skins\base\nami.skl', '-g', 'C:\Users\Admin\Desktop\bone\proc\output\nami']' returned non-zero exit status 3762504530.

@QuePast
Copy link

QuePast commented Aug 12, 2023

image

@QuePast
Copy link

QuePast commented Aug 12, 2023

Nami, Vayne, Zac same error
Edit .... works in 3.0.0-beta.1

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

2 participants