The code was using the legacy Grease Pencil data type in `create_object_data`. For the object type `GREASEPENCIL` we should be using `bpy.data.grease_pencils_v3`. Pull Request: https://projects.blender.org/blender/blender/pulls/142335
The code was using the legacy Grease Pencil data type in `create_object_data`. For the object type `GREASEPENCIL` we should be using `bpy.data.grease_pencils_v3`. Pull Request: https://projects.blender.org/blender/blender/pulls/142335