Sometimes the asset library is not available when we still need to draw menu because there are local data-block tools.