Statistics Panel error 6.13.97

The new statistics panel is not working for me. All it shows is the stats template layout with only the electronics icon to the left.
Screenshot 2021-09-17 235012

And a Player.log file size of 27 Meg with these errors:
NullReferenceException: Object reference not set to an instance of an object
at WorldScripts.Update () [0x000cf] in <1a396645eb0148f0b287c6f470d9a309>:0

NullReferenceException: Object reference not set to an instance of an object
at StatisticsPanel.UpdateResourceButtonsVisible () [0x00004] in <1a396645eb0148f0b287c6f470d9a309>:0
at StatisticsPanel.OnEnable () [0x0001b] in <1a396645eb0148f0b287c6f470d9a309>:0

Just uploaded a fix that makes stats work with old saves!

The stats panel is now working for me. All Items are selectable.
There is now a new line item in the log file:

Invalid category name. Make sure the category is present in the graph

Also found on new saves.