General:
Here, we will explore all the optimization techniques that can be used to tailor your Architect Curves to your specific needs.
ArchitectCurveCache:
The ArchitectCurveCache component is located on the same GameObject as the ArchitectCurve component. It is automatically created when any Architect Curve is created. This component stores cached positions, normals, and a smooth map.
Removing this component will reduce data usage on curves. Additionally, eliminating this component will stop all monitoring of objects along the curve, which will also enhance performance in your built game. But you can't move objects with script or animations. While the increase in memory and performance is generally insignificant, it can accumulate if you use many long Architect Curves.
If you go to the info menu you can see how much the Architect Curve takes in memory. Below you can see the left picture where the Architect Curve is using the ArchitectCurveCache. And to the right its not using it (Look at the "Curve Size" section).
Note: Below is a very long Architect curve. Shorter curves will consume less memory while using the ArchitectCurveCache component.
Conclusion: Only use the ArchitectCurveCache on Architect Curves that needs moving objects with script or animations.
Dynamic vs static Architect Curves:
This is also a more of insignificant performance increase. But static curves does not use cached normals, and because of that, will take less memory when used with the ArchitectCurveCache component.
Follow rotation:
This option only exists on Followers. Animating followers with all "Follow rotation" boxes unchecked will increase performance (maybe 5 - 10%). Because the calculations needed for rotating the Follower in the Architect Curves direction is not needed. Note: If one or two boxes are checked, you will experience an additional 5 to 10% performance loss compared to having all boxes checked.
Resolution settings:
Changing the Normal resolution Position resolution or Smooth resolution settings can decrease or increase the data usage on an Architect Curve.