I too experienced this problem – and found no solution via this forum or any other for that matter. I did figure out the solution to this error message though:
“unable to execute script at line 125. Cannot normalize zero vector”
The problem stems from the Adobe Photoshop vanishing point filter set up using more than one 2D plane. Yes, you can solve the problem by creating only one 2D vanishing point plane – which was my clue to solving the problem in the first place. But not a very cool solution…
For 3D camera angles to work in Adobe After Effects from a Photoshop Vanishing point file ( .VPE) import – I imagine that all three 2D planes must match exactly at all corners in all three dimensions and on all three sides. My set up of the vanishing point planes did not all line up exactly because I created each new 2D plane from scratch for all three dimensions.
The solution: create first 2D plane in Photoshop with Vanishing Point filter from scratch, but then drag the next 2D plane from the first vanishing point plane with the “create plane” button , then drag the third 2D plane from the second plane in the same fashion by clicking again on the “create plane” button. In fact this is exactly what Aharon Rabinowitz demonstrates in his AE Vanishing Point tutorial if you watch his step by step demo carefully.
Best regards,
Ron Fredericks
LectureMaker.com