Found the problem with the crashes, it s when trying to called a virtualised function from a shared_ptr class, don t yet know how to fix