I'm deploying a
Manipulate code to a CDF using
CDFDeploy. Everything was going fine until now. All of a sudden, I'm getting the following error when running the CDF in WolframPlayer
Unfortunately I cannot reproduce the error in a simpler case and my case is really long. Using Mathematica 11.3, instead of WolframPlayer, I don't get this error. I have a
DynamicModule within the
Manipulate code, as an output, but I've removed it and the error persisted.
Any idea what might be causing this?
Edit: I think I have found the source of the error, it seems to do with how I use
RegionCentroid. Given a list
l of polygons I get this error if I use
RegionCentroid[l], and don't get if I use
Map[RegionCentroid,l]. Any idea why?