diff --git a/Runtime/Character/CSkinRules.hpp b/Runtime/Character/CSkinRules.hpp index f75dd51d5..770061b9c 100644 --- a/Runtime/Character/CSkinRules.hpp +++ b/Runtime/Character/CSkinRules.hpp @@ -45,6 +45,10 @@ public: void GetBankTransforms(std::vector& out, const CPoseAsTransforms& pose, int skinBankIdx) const { + // FIXME: This is definitely not proper behavior, this is here to fix the phazon suit crashing + if (x0_skinBanks.size() <= skinBankIdx) { + return; + } x0_skinBanks[skinBankIdx].GetBankTransforms(out, pose); }