HTML5 build error 'camera.compcount_go' is not created

Hey everyone, I’ve been trying out Defold and gotten to a point where I wanted to make a nice little HTML5 build.

However, when I clicked “Build HTML5” I got the following error:

Resource ‘build/default/orthographic/camera.compcount_go’ is not created

I have no idea what this means, regular builds work fine.

I’ve uploaded my project on Google Drive: https://drive.google.com/file/d/1r6A2Wm03L6tU_Z8pL1XwyQ-jYctaUM9t/view

I’m using Defold 1.7.0 :slight_smile:

Anyone know what could be causing this?

You copied all the examples into your project. These examples require the orthographic library, which isn’t a problem when you build from the editor—because it doesn’t build files that aren’t connected with the main collection. However, when you build using bob, it builds everything (and then ignores unconnected files when bundling).

When you use Build HTML5, it builds using bob, so you get an error when it tries to build all the collections in the project.

We have an issue to solve, but there is no ETA for now. You can track the progress here: https://github.com/defold/defold/issues/6293.

The workaround for now is to remove resources from the project folder that aren’t related to your project.

3 Likes

Ahh, that makes a lot of sense!

Was a bit confusing but should be easy enough to take into account going forward, thanks!