How to Fix: Layer won't save

So I have had a ridiculous amount of layers that suddenly stop saving mid development and found no solution here or through support so I figured I would post here. After awhile I discovered the way to fix this. You need 2 different environments preferably non-live.

  1. create and build a solution for the layer with the problem.
  2. Install in second environment.
  3. Set it as the kinetic layer for a menu item. Only this layer no others selected.
  4. Log out and back in
  5. Open the menu item that was changed, then appstudio.
  6. Create a new layer. (This save the current layer information into the new layer)
  7. Create and build a solution for the new layer.
  8. Install in the original environment.

The only downfall is the layer is a different name but I use versioning in my layer names so it’s not a problem for me. My Layers follow this naming convention Company_App_V#.# in case you are wondering.