Re-generate all unicodes?

Let’s say that someone accidentally deleted all of the unicode values for all of the characters in a font. (This person does have a backup version of the file to restore, but let’s pretend she doesn’t). Is there a way to re-generate the unicode values for all characters? Not PUA unicodes, but everything else (like how A is automatically assigned U+0041 automatically in Glyphs)?

Select the glyphs you need new Unicodes for and run “Glyph > Update Glyph Info”.