I managed to fix it. Turns out Assets in the registry don’t have U prefix, so Class->GetName() would not work properly.