I’ve tried my hand at setting up a very basic bob script. All I need is to bundle to all PC platforms, as this would save time over doing it manually in the editor and waiting in between each platform to kick off the next build.
Onto my question and where I got stuck. I’m on Windows 10 and both Defold & bob are 1.2.176. I’ve placed bob.jar and my test batch file in the same directory as game.project. Batch file contents:
This goes through the % progress but gives me the error: Warning: Failed to clean up temp directory
A ‘default’ folder is created in the build folder, but other than that nothing else. If I run my batch file as admin, I get the error Error: Unable to access jarfile bob.jar instead.
Any thoughts? Couldn’t find any answers on the forum though others seem to have had the same issue.
And, here’s the brief explanation of what each thing does: --platform=x86_64-win32 - selects which platform to build/bundle for clean - removes all previously built content build - builds all content --archive - archives the built content bundle - bundles the content into an app --bo bundle_win32 - bundles the content into an app (in the folder bundle_win32) --variant debug - selects debug mode (default is release, with no logging output) -with-symbols - outputs debug symbols (only for NE builds)
What are you referring to specifically? The --resolve requiring email and auth? I do not believe that is required anymore actually.
This happens on Windows only. It tells you that a temporary folder used during the build wasn’t deleted. We should probably remove the warning as it has no real consequence for the user.
Are you sure? There should be an .exe etc, same as when bundling from the editor.
Trying to experiment with texture compression to see how it affects build size and bundling time. I suspect I’m doing something wrong because build times are similar and the output is identical in terms of file size. Maybe I’m misunderstanding but I’d expect that turning texture compression off would increase file size.