#Can't export model

73 messages · Page 1 of 1 (latest)

plain crystal
#

I have tried everything i know to try and fix it. Sent it to the live2d forums and they where able to export it but had to remove alot of things making the model unusable?
I'm using 5.0 but tried using 4.2 to export it and didnt work
the .cmo3 is only 63mb and the forums response was to reduce the file size?
error shown:

  • [ERROR] java.lang.NullPointerException
    [ERROR] at com.live2d.cubism.doc.model.ACParameterControllableSource.getKeyForm(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.deformer.warp.CWarpDeformerSource.getKeyForm(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.q.a(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.v$a.j(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.v$a.g(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.v.a(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.b.a(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.b.a(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.d.a(Unknown Source)
    [ERROR] at com.live2d.cubism.doc.model.exporter.d.invoke(Unknown Source)
    [ERROR] at com.live2d.util.ab.a(Unknown Source)
    [ERROR] at com.live2d.util.aa.a(Unknown Source)
    [ERROR] at java.base/java.lang.Thread.run(Unknown Source)
    i really dont wanna rig her all over again so any help is appreciated ;w;
eager mason
plain crystal
#

nope

pine fable
#

did the forum told you what was the issue or only just "fix" it?

#

the errors are mentioning a warp deformer and a paramete

plain crystal
#

they told me this, i have since reduced the vertices in artmeshes and reduced the amount in deformers as well

#

it has alot less deformers, artmeshes and vertices than the model i worked on prior but for whatever reason this one isnt working

pine fable
#

🤔 more less what are the divisions you use on deformers? like 10x10?
also do you manualy artmesh?

plain crystal
#

some of the were manually but after the feedback from the forum i changed almost all of them to auto standart
and yeah 10x10

eager mason
#

Null pointer with keyform makes me think it's an issue with a parameter somewhere. can you take a screenshot of the full error or post the log?

pine fable
#

yeah even it mentions a parameter on the list keyforms and that

#

your art was not made on procreate right?

#

how that you used automesh, can you take a picture of your model stats again?

#

i think that also the number of poligons/vertices is really big on your stadistics, compared to the number of pieces you have

#

as for example
you have 314 artmesh
89k vertices
151k polygons

compared to a really heavy model i have for example
with 1946 artmesh
91k vertices
136k polygons

plain crystal
plain crystal
pine fable
#

there are warnings on extended interpolations

plain crystal
#

yup and i removed them so atm the model has none

pine fable
#

right now how the model is, do you are able to export?

plain crystal
#

nope

pine fable
#

whats the atlas size you had on this model? 🤔

plain crystal
#

rn its 8000x8000? im not super sure how making multiple ones work so i havent tried it yet

pine fable
#

can you make a copy of the model file
and on the copy try to make atlases of 4k instead 🤔 i am thinkingon options to reduce the weight of the model itself

plain crystal
#

i can give it a try but her cmo3 file is already like 63mb

pine fable
#

i mean weight on the optimization, not really on the bites

#

did you took the picture of the current stats?

plain crystal
pine fable
#

mmm its curious that even with the automatic mesh the polygons and vetices almos didnt reduced

plain crystal
#

i could change them for the really simple one

pine fable
#

you said yo used standar right? thats the simple one 🤔 isnt it?

plain crystal
#

theres the deformation ( little)

pine fable
#

can you show me one of your artmeshes? just curious how it looks

plain crystal
#

with the little auto deform this is how it looks and still same error

pine fable
#

still doesnt let you export?

plain crystal
#

nope

pine fable
#

this was not made on procreate right? [[i forgot if i already asked]]

plain crystal
#

made on csp

rich gate
#

That's quite odd. Could you show a art mesh on one of your pieces?

plain crystal
#

they're all on simple deform auto rn

rich gate
#

That looks normal to me, someone else went a little too ham on poly and that's why they couldn't export

#

it's very odd the numbers aren't going down

plain crystal
#

they went down alot tbf

rich gate
#

Ah, I got the screenshots mixed up, derp on my end.
I think the poly count / poly density is good, but all I could think of is potentially low memory, deformers having too many divisions (mentioned here already), or something else.
I really doubt it's file size, I work with files x10 the file size of this.

plain crystal
#

all the deformes are 10x10 currently and i have 16gb of ram

rich gate
#

If you're okay with it (understand if you aren't), would you be willing to send the file so I can look at it?

plain crystal
#

the deformers arent named so if you're ok with that yeah i dont mind

rich gate
#

That's fine, I just want to see if something stands out
Do you still have the original before you changed it to lower poly?

#

Actually may be safer to just send both

plain crystal
#

i think i have , where should i send it?

rich gate
#

You can DM it to me, you'll probably have to use google drive or similar due to it being 60+ MB

#

So, acording to the Deformer Validator, you have a lot of child deformers that stick out of the parent deformer
Some of them even have the object outside of the deformer (a big no-no)
The other potential issue you have is that you have a lot of 30 x 30 deformers which is very dense for small objects

plain crystal
#

do you think they're the problem? another model i rigged recently had a few but it exported fine

rich gate
#

30 x 30 is just a warning, but for sure the bigger problem is all of the objects being outside of the warp deformers

pine fable
#

live2d send a warning if the division count is higher than 100

#

30x30 would be 900

plain crystal
#

is that the high poly ver? bc the other one i changed them all to 10x10

rich gate
#

This is the high poly, I haven't opened the other one yet

#

The loly poly while it has fewer divisions to worry about, you need to make sure all of the parent deformers cover all of the movement of every child deformer you have

plain crystal
#

could you explain like im 5

eager mason
#

papa box is smaller than baby box

rich gate
#

So curvedsurface8 here
It has a parent deformer called curved surface 7

#

It is barely much larger than curved surface 8

#

And I do not know why the deformer is so wide

plain crystal
#

it wasnt that wide while i was working on it wth

rich gate
#

maybe a accidental edit? It happens to the best of us
but yeah, the character right brow goes outside of curved surface 8 (the parent)

#

Ah, curved surface 8 is the parent of both brows, that's why it's wide. But it's not large enough to cover the full movement of both brows

#

I also heavily urge you to spend the time to rename each deformer as it's hard to troubleshoot with there being copied deformers with the same name

plain crystal
#

i will probably spend the day tomorrow going over the deformers

rich gate
#

Best of luck to you. It's a lot of deformers to double check.
If you want to bring up that validate deformer menu, it's under (Top Menu) -> Modeling -> Deformer -> Validate Deformer...