Codea does not save the Shader file when the program crashes.
The crash occurs when an error is found in the code
Hi @Picalines, thanks for the report. The issue with saving is related to how Appleās document system handles autosaving. It does this in the background after an unspecified delay, which can sometimes mean changes get missed when a crash occurs. We are currently looking into ways to enforce quicker saving to prevent too much work being lost.
@John I think this bug relates to the Shader Lab shader editor rather than the Shade app.
@Picalines does the crash always happen when your shader has an error? Or is it only some errors?
@Simeon It happens randomly