A while back we mentioned a bug that we found when we were serializing the DotDensityStyle. At that time it would serialize into a huge file. I am pretty sure that was because the cached points were being serialized with the style.
Well, now I have found a new bug that I believe is related. When I serialize a DotDensityStyle and deserialize it my self or use CloneDeep() (which does the same thing I believe) the style no longer draws on my maps.
I have noticed a new property in the DotDensityStyle called CachedPoints. The documentation I have does not mention this property so I am not sure if I am using it incorrectly. I have been watching it while I clone the style. The original style will have a few hundred CachedPoints and the clone's CachedPoints is null. That makes sense because I know we do not want to serialize all the points. However when the cloned style draws it should recreate those CachedPoints but it is not. The cloned style's CachedPoints remain null.