Answers for "Shipping: formal parameter with __declspec(align('16')) won't be aligned"https://answers.unrealengine.com/questions/50892/shipping-formal-parameter-with-declspecalign16-won.html
The latest answers for the question "Shipping: formal parameter with __declspec(align('16')) won't be aligned"Answer by Ben Marshhttps://answers.unrealengine.com/answers/51001/view.html
The error is caused by passing your trans variable by value. FTransform is implemented using vector intrinsics, and instances of it need to have 16-byte alignment. I think the stack is guaranteed to be aligned to 16-bytes on Win64 so the compiler can pass it on the stack correctly, but there's no such guarantee on Win32 (which is what we use for shipping builds).
The solution is to pass the variable by const reference instead:
void ApplyTownStructureMovement(ATownStructure* pStructure, const FTransform &trans);Mon, 02 Jun 2014 13:40:31 GMTBen Marsh