The function loadLinkGeometry returns a nullptr for shape types it does not know how to render. This causes a segfault when parsing currently unsupported shapes, like planes. Instead of returning a nullptr, we should instead return an empty Ogre::Entity object (if possible) or check if the return of this function is a nullptr before adding it to the scene here and here.