Error in get post by met_key

I don’t really understand this sentence– “It must get me only all post from unit post type that in unit type post type,”– and honestly the query looks correct to me, but I would suggest trying a meta_query and specifying the type, as well as disabling sticky post juggling. If you have 6 or more sticky posts you could have the illusion of the query returning “all” posts.

$units3 = new wp_query(
  array(  
    'post_type' => 'units',
    'posts_per_page'=> 6,
    'paged' => $paged,
    'ignore_sticky_posts' => true,
    'meta_query' => array(
      array(
        'key' => 'unittype',
        'value' => $type,
        'type' => 'numeric'
      )
    )
  ) 
);