What is happening to the Content Cache component?

I’m having strange issue:

Bake using Model Object - everything is correct

Bake using Content Cache - every element is doubled, baking is slow and Purge isn’t working.

Anyone having the same issue?

When I pass the output via Geometry it is loosing properties but doesn’t double elements.

Yeah, I’ve been waiting for a fix for about a month now:

If you have any simple means to reproduce your issues, it’s probably good to post some test files here, considering the problem has been under McNeel’s radar for a while.

It would have been easy if Model Object allowed for internalizing data (which comes from monster file).

I was loosing my mind over it, thanks for letting me know it is not an error on my side.

Agreed, that would ease trouble shooting considerably.

What’s more interesting…

the left tree is not doubled when baked, the right one doubles everything

A simple example sans 3rd party plugins would be extremely helpful. Thanks

(gonna be like Joseph here)

I think I found the source of the problem:

this set of materials bakes ok

this one has a lots of materials imported with files (and bakes double):

It bakes OK when only one materias is applied:

I tested this with local or imported material, so, maybe, the error is not within imported materials, but you should definitely search for bug there

Whenever I have an obscure baking issue, one of the main symptoms is the order/ number of items changing in a tree, so when branches change item numbers, that usually tells you something is amiss.

You are correct, but I have checked the output structure multiple times.

Baking branch 9 with multiple materials gives me trouble:

Each object has it’s own name, colour and material.

This one is much simpler and bakes ok

Maybe check if one of the objects disappears or if a duplicate is present? Hard to diagnose without test files.

Further down my file there’s also this Purge component that’s misbehaving like crazy:


I was thinking I could assign timestamps to filter out the older set of objects, but if Content Cache isn’t purging then I’m at a loss for workarounds.

No missing objects or materials, no nulls or empties, still doubled output.

Do you have a small test file?

Small test file with simplified materials outputs correctly.

Only the complex scene with imported stuff with it’s own materials causes trouble. I spent hours trying to create reasonable sample. This is why I know it comes from material tab.

Are you using multiple Content Caches that act in a sequence?

Everything bakes at once.

Why does {9} have multiple items?

It’s just bunch of different elements.

Now, this is bizarre.

Bake first time from GH - everything is doubled.

Delete the model, bake again - everything comes x1.

This, certainly, has nothing to do with the tree structure.

Hi Piotr,

Trying to remove some of the variables, do you have any of these installed?


Wombat is as well..

Nope