Build targets not consistent

I do not get consistent builds between targets.

ctrl-b from the editor works 1 way


a windows build works another. notice the spine animations are missing.
[edit: the spine issue has been fixed, ignore this one. 64 bit windows release works. this is a default skin known issue]

and the HTML5 build does not work at all

I’d be happy to share my repo with the defold team if it would help.
The only major odd thing I think I did was to customize my render script to mask an object with a stencil buffer.

Are you sure it’s not a z-ordering issue with the spine animations and the background?

The spine animations both have a z position of 0.3 and the background has a z position of 0.0.

(above builds were 64 bit release for windows)
I also tried a few other build options:
32 bit - debug and release : only renders the GUI

I do not have a camera in my scene.
I suspect this may be unexpected behavior.
Is it assumed all games use a camera?
The default view frustum was all I needed for my design.

When I get some time this weekend I will experiment with the camera and see if that fixes these inconsistencies.

Are you sure that spine model has setup the proper skin? I had the similar issue Does anybody have problem with spine model? [SOLVED]

That fixed the spin issue.
So 64 bit debug and release works as expected.

But you’re still having problems with 32 bit builds? What if you switch to the default render script?

No, far from it. Games that need to pan around a large game world would benefit from a camera, but games with a fixed game area would probably not.

The 32 bit build looks to work with the default renderer.
(minus the objects that use the custom stencil render code)

This could show there is an inconsistency between the 64 bit and 32 bit engine.
the 64 bit build works the same as when building and running from Editor 2

the 32 bit build mostly works when I change my render script to the default.
Something I do in my script does not function the same as the 64 bit engine

The HTML5 still does not display even with the default render script.

Hmm, not really sure what’s wrong here. @sven, any ideas?

What browser are you using with the HTML5 version?
Are you getting any Lua errors in runtime? (If you look in the developer console, which most modern browser have, you should be able to view the engine/runtime output.)

Yeah looks like there are errors.
"cannot enlarge memory array"
Though setting the custom heap size doesn’t seem to fix that.
So the html5 probably renders correctly, if I can fix the memory issue.
though I can’t get it to change to anything larger the 256.