Hello all,
I usually try to find answers in already created posts, but this has been giving me a massive headache for a long time now and I don't know how to look for the answer, so maybe you guys can help me out or point me into the right direction.
At my animation studio we work with maya ascii files that contain other referenced maya ascii files.
So imagine this reference hieachy:
MayaAsciiSceneA.ma (20Mb)
|
|___MayaAsciiReferenceA.ma (500Mb)
|
|___MayaAsciiReferenceB.ma (250Mb)
|
|___MayaAsciiReferenceC.ma (250Mb)
Sometimes when we save MayaAsciiSceneA after working a little bit in it, we save the file and everything looks fine and it weights 20Mb, so no problems.
Some other times instead of doing that, Maya seems to parse the info within MayaAsciiReferenceA into MayaAsciiSceneA.ma and it ends up weighting 520Mb.
Our current work around is to remove that reference (MayaAsciiReferenceA.ma) and import it again, and it seems to work just fine.
I understand that if when working on MayaAsciiSceneA.ma, the artist does many reference edits, the file can get heavier, but there is no way they do as many reference edits as those.
We do have scripts that automatize loading and unloading references, but this has been happening only recently and I don't think our scripts trigger this, but it could be the case.
Do you have any idea about why this could be happening or how can I spot this?
Right now I have added a callback that checks weights of files before and after saving, but again, this only show that this error seems to be random.
Kind regards,