Open a script file in an external editor (eg. sublime)
Open the same file in the defold editor
Make a change in the file in defold
Save All
Go to external editor
Notice the file is updated
Make a change in external editor and save it
Return to defold
-> Empty file
(Optional to produce crash: Hit Cmd+S)
Defold version: 1.2.95
Defold sha: 3d3b4872c5dc544f1cc7d454b826f7193842d4f2
Platform: Mac OS X 10.12.1 (x86_64)
Java version: 1.8.0_102-b14
Expected behaviour
The changes made in external editor should be visible
Actual behaviour
All the contents of the file is lost. Hitting save when in this state gives the following error:
Steps to reproduce
Open a script file in an external editor (eg. sublime) Open the same file in the defold editor Make a change in the file in defold Save All Go to external editor Notice the file is updated Make a change in external editor and save it Return to defold -> Empty file (Optional to produce crash: Hit Cmd+S)
Defold version: 1.2.95 Defold sha: 3d3b4872c5dc544f1cc7d454b826f7193842d4f2 Platform: Mac OS X 10.12.1 (x86_64) Java version: 1.8.0_102-b14