State object not preserved across session if there is no project folder


Steps to reproduce:

  1. Create a package, implement activate(state) and serialize() methods

    activate(state) {

    serialize() {
    return {
    name: ‘test’

  2. Launch atom

  3. Remove the project folder

  4. Close atom

  5. Re launch Atom

Observation: state is not passed to activate(state) function

Note: state is passed to activate function if there exist a project folder


This is a known issue. You may want to subscribe to this issue for future updates:


Thank you.