d4rkc0d3r / d4rkAvatarOptimizer

d4rkpl4y3r's VRChat Avatar 3.0 optimizer
MIT License
402 stars 17 forks source link

Null Reference #79

Closed MLuccia closed 9 months ago

MLuccia commented 9 months ago

Having a strange exception with materials, aside from the console log, the only other thing I noticed is that the preview displays a X number of material slots, however, in vrchat the number is different.

I've no idea what could be the issue, as far I can tell it just started randomly.

image

current options: image

`

d4rkc0d3r commented 9 months ago

This seems to be caused by one of your renderers having no mesh in them.

d4rkc0d3r commented 9 months ago

Ok its not quite that but close. This happens if you have a MeshRenderer without having a corresponding MeshFilter component on the same game object.

MLuccia commented 9 months ago

You sure that's the problem? When a search for MeshRenderer/Filter, all the objects have both

d4rkc0d3r commented 9 months ago

Did you try it with 3.4.0 yet? If it still happens for you, reopen the issue.