WYSIWYG won't open in Image Edit Form Layout


Matrix Version: 5

I’ve build a form for creating images with a WYSIWYG metadata field for text descriptions. Creating the asset works fine, but when I try to open the asset in the editing layout, the WYSIWYG box won’t open and gives me this error: Uncaught ReferenceError: editor_metadata_field_wysiwyg_174997_image is not defined.