https://book.leveldesignbook.com/process/env-art/optimization
https://kotaku.com/horizon-zero-dawn-uses-all-sorts-of-clever-tricks-to-lo-1794385026
Unity - Manual: Optimizing graphics performance
⭐ if working with larger shape key animations; drivers are ideal to work with in order to track all shape key animations and assign them to an armature. It is also important to note that vertex groups may cause animation export issues as well.
if vertex groups are absolutely necessary for your animation, try this method below.

If this method does not work for you; unfortunately you may have to back track and create a bone that will achieve the same results as your shape key animation. Otherwise, if the shape Key deformation isn’t large and does not affect unwanted vertices, you may be able to get away with not using a vertex group at all and exporting the animation as is. The animation should work properly with no issue.