fix (startup cocos): investigate and provide fix for crash on startup