I tried as you suggested or at least what I think you meant but unfortunately it hasn’t fixed the problem. The error messages have gone away but the game still crashes when the player dies.