C++ Error C2679: Binary '=': no operator found which takes right-hand operand of type 'TArray'

It’s in the screenshot of the code in the original post but i have changed some of the code a bit. the IUnit interface is declared the normal way via c++ and im trying to cast from a blueprint that i have loaded from an asset. the blueprint inherits from ASoldier which inherits from ACharacter and IUnit