It seems the project dependencies features that allows for having external libraries doesn’t work anymore.
I’ve just pulled a new copy of a project that has a dependency to: http://www.defold.com/p/1008/48214/archive
and both editors fail at retrieving the archive file.
Where is the dependency hosted? GitHub or our servers? If it’s a dependency to a project hosted by us you need to make sure that you still have access to it, like @Mattias_Hedberg pointed out.
I own both projects (main and library) and they are both hosted by your servers.
That’s the error I get when I open the project with Editor 1:
Error occurred when fetching libraries
The file obtained from http://www.defold.com/p/1008/48214/archive is not a valid zip file
The file obtained from http://www.defold.com/p/1008/48214/archive is not a valid zip file
Oh, that’s definitely to do with our switch to https then. Good that it works by changing the protocol in editor 1 anyway. I’ll investigate how to fix it.
The issue is fixed now. It was caused by a change on the server that was released yesterday, I rolled back to how it was before now.
So now http:// will work in editor 1, but https:// will NOT work in editor 1 anymore, so make sure you change back to http:// if you tried it @Mattias_Hedberg@Nicolas_Darques
I don’t know when It stopped working.
Only pulling a new copy of this project yesterday evening on a workstation that was not used previously with Defold.
I tried again from a fresh slab and it works well again for both editor.
Interestingly enough Editor2 was failing at import to retrieve the dependencies and was showing a pop-up to explain how to retrieve dependencies ‘when back online’. It was then failing silently with no log whatsoever when using directly the fetch libraries command from the menu.