I'm having some trouble getting an HDA to open properly in C4D. The setups I'm developing use quite a bit of VEX code and I've noticed that certain functions etc seem to break assets. I've simplified this example as much as possible and I can detect the line of code which breaks everything.
The setup is as follows:
Sphere (Set to polygon mode)
That's all. At this stage, the sphere happily imports to C4D with the green HDA icon.
I can add this line of code and all is well too :
vector p = @P;
However, if I add this line (which does exactly the same thing) it no longer works:
vector p = pointattrib(geoself(),"P",@ptnum,0);
I'd love to know if anyone has any insights into why this may be the case.