16d6cbca2a
The problem is that SurfacePoint doesn't have default values when constructed, and a few of the unit tests weren't setting m_position because the values weren't strictly needed for the test. However, the SurfacePointList checks them for validity and asserted when they couldn't be found, which was hit-and-miss due to it being uninitialized memory that was usually but not always 0xCCCCCCCC. Improved the assert message and set the position values everywhere. Signed-off-by: Mike Balfour <82224783+mbalfour-amzn@users.noreply.github.com>