Defold unpack question

My anti virus is blocking / deleting the files to build and test the game. But when I try to whitelist them I found out that defold generates a new unpack folder on each open of the editor.

Is there a way to to force the unpack to install to the same temp folder? Especially since it’s the same files being unpacked repeatedly. Last I checked it wasted about 8gb after about 10 openings on the editor. It would also allow me to whitelist the files only once.

Example error
/Scripts/GUI/Game04.gui_script
Cannot run program “AppData\Local\Temp\defold-unpack-94b853c671eb5264895b206dc427071978277cfa17547196519562879278/x86_64-win32/bin/luajit-32”: CreateProcess error=225, Operation did not complete successfully because the file contains a virus or potentially unwanted software

1 Like

I believe the unpack folder is something we’ve discussed very recently, and we’re looking to change it so that the editor doesn’t repeatedly unpack the same files. Related task: https://github.com/defold/defold/issues/7543

3 Likes