Crashing when run on Oculus : Asserted Buffer Size

Our build runs without oculus, but crashes with this. We don’t have the callstack ready to post at the moment.

Assertion failed: DesiredBufferSize.X > 0 && DesiredBufferSize.Y > 0

Project: [2015.09.09-05.28.36:963][ 46] Log
HMD:Warning: HMD Oculus Rift DK2, res = 1920 x 1080Log
HMD:Error: Can’t create swap texture set (size 24 x -2147483648), error = -3000

To anyone who finds this. The bug was on the oculus side.

How did You solved it ? I have this same error