Lua Script with BluePrint Parent doesn't work

After importing a lua script, choosing a parent class, adding the class to the level and saving I get this:

Warning Can’t save …/…/…/XXXX/Content/Model.umap: Graph is linked to external private object ScriptContextComponent /Game/Scripts/BattlePlayer.Default__BattlePlayer_C:ScriptContext (unknown property ref)

I know this has something to do with ObjectFlags but I’m really unfamiliar with them so I’m entirely sure of the issue yet.