Trying to use last AppGameKit build and got an access violation after using 2DSkeleton
if (agk::GetSkeleton2DExists(12) == 0)
{
agk::LoadSkeleton2DFromSpriterFile(12, "MainMenu/Leaf/WaterLeaf.scon", 0.5f, 0);
}
agk::SetSkeleton2DDepth(12, 12);
agk::SetSkeleton2DPosition(12, 1100, 1040);
agk::PlaySkeleton2DAnimation(12, "NewAnimation", 0.0f, 1, 0.0f);
agk::SetSkeleton2DAnimationSpeed(12, 0.015f);
///////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////
if (agk::GetSkeleton2DExists(13) == 0) // ACCESS VIOLATION IS HERE!
{