If the mesh has a curve builtin attribute that's not stored on the point domain, the creation of the attribute will fail and it can't be interpolated. Possibly this could be supported somehow, by averaging all the values in the curve's points or so, but for now just avoid the crash.