I actually managed to ‘fix’ it by not setting a default reference to the class in the struct (i.e. leaving it to none). I set the reference to the ability class variable in the respective card data set and there are no compile errors on project start.