And if you do show_debug_message(asset_get_ids(asset_object)), does the object show up in there?
show_debug_message(asset_get_ids(asset_object))