Primary Assets missing after compile

Hey everyone,

I am having an issue with Primary Data Assets, they disappear from the dropdown menu which lets you select a PrimaryDataAssetId, every time I compile the code.

The following image might help:

Before re-saving Primary Data Asset:

After re-saving the asset appears as it should: