diff --git a/SHADE_Engine/src/Animation/SHRig.cpp b/SHADE_Engine/src/Animation/SHRig.cpp index 81c3e3de..0a70dcd3 100644 --- a/SHADE_Engine/src/Animation/SHRig.cpp +++ b/SHADE_Engine/src/Animation/SHRig.cpp @@ -103,7 +103,8 @@ namespace SHADE continue; // Recursively create children - newNode->Children.emplace_back(recurseCreateNode(asset, child)); + auto childNode = recurseCreateNode(asset, child); // Not sure why this works but it is required for + newNode->Children.emplace_back(childNode); // the emplace_back operation to not crash } return newNode;