I had fought with this issue for quite some time. It would always vary which line it would fail on and whenever I looked at the failing unattend, there would be nothing after that line, just completely blank.
I had previously been leaving my base image in audit mode before capturing. I generalized the base before capture and have not had that issue since. (knock on wood)