Our software team is developing a product on Ubuntu Linux using the C4 engine 2.9.1, and we came across a crash when trying to open the Panel editor, due to a missing "Grid" widget. We investigated the problem further and found that there was a mismatch between the resource name set in the PanelGridPage constructor initializer list and the widget resource that is referenced in the Preprocess() methdo. There appears to be a discrepancy with the first letter capitalization of "PanelEditor/grid", whereas FindWidget is looking for "Grid". On disk, the resource name is Grid.pan, located in Data/Tools/PanelEditor. Please confirm and fix as appropriate.
Changing the filename on disk to grid.pan fixes the problem for us in the meantime. Probably the best way to fix this in the engine code is to change the constructor code to reference "PanelEditor/Grid" to be consistent with all the other references in the file.
Battelle Memorial Institute
982 PanelGridPage::PanelGridPage(PanelEditor *editor) :
983 PanelPage(editor, "PanelEditor/grid"),
993 void PanelGridPage::Preprocess(void)
997 gridButton = static_cast<IconButtonWidget *>(FindWidget("Grid"));