The problem was that the Pen Tool would not set the `Resolution` attribute and so when the `Resolution` attribute didn't exist, the newly added curve would default to a value of 0, which would then lead to an Assert. This problem would also effect `Curves` Objects. Pull Request: https://projects.blender.org/blender/blender/pulls/147673