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

MillionDance fails to load recent head/body Unity3d files #54

Open
KimL-IVA opened this issue May 30, 2022 · 0 comments
Open

MillionDance fails to load recent head/body Unity3d files #54

KimL-IVA opened this issue May 30, 2022 · 0 comments

Comments

@KimL-IVA
Copy link

Recently (probably since April), MLTD has been upgraded Unity version from 2018.4.12fl to 2020.3.28fl.

And MillionDance causes errors when I try to make a model from new head/body unity3d files.

Below is a error log from when I tried to make a model from 'ch_ss007_015siz.unity3d' and 'cb_ex022_a.unity3d'

"""
Worker started.
Loading body avatar...
Loading body object hierarchies...
Loading body mesh...
Loading head avatar...
Loading head object hierarchies...
Loading head mesh...
Error occurred.
System.Collections.Generic.KeyNotFoundException: Found no SkinnedMeshRenderer associated with this mesh (eyes).
at AssetStudio.Extended.CompositeModels.MeshWrapper.FindMaterialInfo(SerializedObjectsLookup serializedObjectsLookup, Mesh mesh, Int32 meshIndex, TexturedMaterialExtraProperties extraProperties) in C:\projects\mltdtools\src\AssetStudio.Extended.CompositeModels\MeshWrapper.cs:line 189
at AssetStudio.Extended.CompositeModels.MeshWrapper..ctor(SerializedObjectsLookup serializedObjectsLookup, Mesh mesh, TexturedMaterialExtraProperties extraMaterialProperties) in C:\projects\mltdtools\src\AssetStudio.Extended.CompositeModels\MeshWrapper.cs:line 19
at OpenMLTD.MillionDance.Core.IO.ResourceLoader.LoadHeadMesh(String filePath) in C:\projects\mltdtools\src\MillionDance\Core\IO\ResourceLoader.cs:line 103
at OpenMLTD.MillionDance.MainWorker.DoWorkInternal(Object state) in C:\projects\mltdtools\src\MillionDance\MainWorker.cs:line 117
at OpenMLTD.MillionDance.MainWorker.DoWork(Object state) in C:\projects\mltdtools\src\MillionDance\MainWorker.cs:line 48
"""

And I found some differences between new unity3d files and old ones.

'm_RayTracingMode', 'm_RayTracinProcedural', 'm_BonesAABB', 'm_VariableBoneCountWeights' etc...

But I've no idea what makes these errors 'cause I'm not really good at these things. :(

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