I've had a problem with one person in my party going inactive during a battle. They cant move and cast any skills but can be interacted with, even after the battle ends. This has happened to every companion at some point, the only way to fix it was to have them leave and come back. Though once back the next fight they would go inactive again.