Post by Khlas on Mar 25, 2021 10:26:40 GMT -5
Hello, I hope you had a great day.
I try to import an animation file from blender, but one of the file gives an error during the import process in S4studio, I can't import the clip from my blender file.
Here is the report :
The Sims 4 Studio - Version 3.1.4.5
System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 23, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\animation\blender.py", line 217, in save_clip
matrix_delta = matrix_parent.inverted() * pose_bone.matrix
ValueError: Matrix.invert(ed): matrix does not have an inverse
à S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
à S4Studio.Blender.BlenderUtilities.ImportClip(String custom_blend, String custom_clip, String prefix)
à S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass153_0.<ExecuteImportAnimation>b__0()
à System.Threading.Tasks.Task.InnerInvoke()
à System.Threading.Tasks.Task.Execute()
--- Fin de la trace de la pile d'exception interne ---
---> (Exception interne #0) S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 23, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\animation\blender.py", line 217, in save_clip
matrix_delta = matrix_parent.inverted() * pose_bone.matrix
ValueError: Matrix.invert(ed): matrix does not have an inverse
à S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
à S4Studio.Blender.BlenderUtilities.ImportClip(String custom_blend, String custom_clip, String prefix)
à S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass153_0.<ExecuteImportAnimation>b__0()
à System.Threading.Tasks.Task.InnerInvoke()
à System.Threading.Tasks.Task.Execute()<---
I tried to find something about "matrix does not have an inverse" in google but it seems to be too complicated for me. I tried with newer version of blender (2.76, 2.79) and it still doesn't work. Also, I tried to append directly my action to another fresh rig but the same issue occur. How can I fix it?
I try to import an animation file from blender, but one of the file gives an error during the import process in S4studio, I can't import the clip from my blender file.
Here is the report :
The Sims 4 Studio - Version 3.1.4.5
System.AggregateException: Une ou plusieurs erreurs se sont produites. ---> S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 23, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\animation\blender.py", line 217, in save_clip
matrix_delta = matrix_parent.inverted() * pose_bone.matrix
ValueError: Matrix.invert(ed): matrix does not have an inverse
à S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
à S4Studio.Blender.BlenderUtilities.ImportClip(String custom_blend, String custom_clip, String prefix)
à S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass153_0.<ExecuteImportAnimation>b__0()
à System.Threading.Tasks.Task.InnerInvoke()
à System.Threading.Tasks.Task.Execute()
--- Fin de la trace de la pile d'exception interne ---
---> (Exception interne #0) S4Studio.Blender.BlenderException:
File "<string>", line 1, in <module>
File "<string>", line 23, in <module>
File "C:\Users\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.70\scripts\addons\s4studio\animation\blender.py", line 217, in save_clip
matrix_delta = matrix_parent.inverted() * pose_bone.matrix
ValueError: Matrix.invert(ed): matrix does not have an inverse
à S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
à S4Studio.Blender.BlenderUtilities.ImportClip(String custom_blend, String custom_clip, String prefix)
à S4Studio.ViewModels.Animation.AnimationPackCustomContent.<>c__DisplayClass153_0.<ExecuteImportAnimation>b__0()
à System.Threading.Tasks.Task.InnerInvoke()
à System.Threading.Tasks.Task.Execute()<---
I tried to find something about "matrix does not have an inverse" in google but it seems to be too complicated for me. I tried with newer version of blender (2.76, 2.79) and it still doesn't work. Also, I tried to append directly my action to another fresh rig but the same issue occur. How can I fix it?