Can't get id/name of view in hook_preprocess_views_view_unformatted In this function I can't get id of view 

function THEMENAME_preprocess_views_view_unformatted($vars){
  $view = $vars["view"];
  //does not work
  $id = $view-&gt;storage-&gt;id();  
  //does not work
  $name = $view-&gt;name;
}


$id does not  get anything meanwhile if used in hook_preprocess_views_view_fields work properly.  Why it does not work here ?

EDIT: the process is firing and I can see with a debugger that id/name don't get a value meanwhile on other hook above can get the id ... could it be a bug ?
This is the only way I could get view id (not sure why)

function THEMENAME_preprocess_views_view_unformatted($vars){
  $view = $vars["view"];
  //works
  $id = $view-&gt;id();
}