I have a single PanelSet at the root of my scene (created by an OverhangPanelSetScene). For convenience, I've assigned the PanelSet to m.global.panelSet. The first time I add something to the PanelSet's stack it works fine, but any further attempts will always crash the entire device with no errors.
For example.
Scene -> PanelSet -> PanelA is added right away when the PanelSet is created -> PanelB is appended to the stack from a user action -> Attempt to add PanelC from a user action will always crash.And it's just using the simple child interface to add them:
m.newPanel = createObject("roSGNode", "NewCustomPanel")
m.global.panelSet.appendChild(m.newPanel)
As a sanity check I've verified that m.global.panelSet is what I expect it to be, and it looks like a sane PanelSet.
Is there anything about my interpretation of Panels that is wrong? Seems like I should be able to continue to add to the Panel stack without any issues.