Clipping planes don't functions after hiding and then showing again an entity

1. A concise explanation of the problem you’re experiencing.

I have 2 entities associated with the same clipping plane.

I want the clipping plane to “cut” the 2 entities.

At the begining only the first entity is visible ( true) and the second one is hiden (

The clipping plane functions perfectly on the visible entity.

Then I hide the first entity and I show the second one.

The clipping plane functions perfectly with the second entity.

When I hide the second entity and show again the first one,

it is clipped at the same place I clipped the second entity when it was visible (that’s normal)

but now the clipping plane can move but it doesn’t clip the first entity as it did at the begining.

I can’t figure what happen.

Perharps a caching problem ?

Thank you for any help.


2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you’re using, your operating system and browser.