Custom Resource not working properly when exported [4.0]

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ANARCK3L

So, I created a custom resource for my game, but when I try to set it through the editor after @export-ing it I get this error message:

Failed to set a resource of the type 'Resource' because this EditorResourcePicker only accepts '<resource name>' and its derivatives.