The problem was the bake function was using the evaluated data and must use the original data. The problem was caused by commit: rBcff6eb65804d: Cleanup: Remove duplicate Bake modifier code. Fix by Philipp Oeser
The problem was the bake function was using the evaluated data and must use the original data. The problem was caused by commit: rBcff6eb65804d: Cleanup: Remove duplicate Bake modifier code. Fix by Philipp Oeser