britzl / template-lowres

Defold template project for lowres/pixel-art games.
26 stars 3 forks source link

Project fails to build on Defold 1.3.6 #11

Closed unindented closed 2 years ago

unindented commented 2 years ago

Cloning the repo, opening it with Defold 1.3.6 on macOS 12.6, and trying to run it, results in this error:

INFO:CRASH: Successfully wrote Crashdump to file: /Users/unindented/Library/Application Support/Defold/_crash
ERROR:CRASH: CALL STACK:

# 0 pc     0x281a54 dmengine _ZN7dmCrashL7HandlerEiP9__siginfoPv+36
# 1 pc      0x69dfd libc++abi.dylib _sigtramp+29
# 2 pc     0x102647 dmengine _ZN8dmRender24ApplyNamedConstantBufferEPNS_13RenderContextEPNS_8MaterialEPNS_19NamedConstantBufferE+71
# 3 pc     0x10af43 dmengine _ZN8dmRender4DrawEPNS_13RenderContextEPNS_9PredicateEPNS_19NamedConstantBufferE+371
# 4 pc     0x10ad79 dmengine _ZN8dmRender14DrawRenderListEPNS_13RenderContextEPNS_9PredicateEPNS_19NamedConstantBufferEPKN10Vectormath3Aos7Matrix4E+3433
# 5 pc     0x10e343 dmengine _ZN8dmRender13ParseCommandsEPNS_13RenderContextEPNS_7CommandEj+707
# 6 pc     0x1130f6 dmengine _ZN8dmRender26UpdateRenderScriptInstanceEPNS_20RenderScriptInstanceEf+134
# 7 pc       0x8607 dmengine _ZN8dmEngine4StepEPNS_6EngineE+1239
# 8 pc       0x8bea dmengine _Z14dmEngineUpdatePN8dmEngine6EngineE+26
# 9 pc       0x96fd dmengine _ZN8dmEngine7RunLoopEPKNS_13RunLoopParamsE+109
#10 pc       0x9662 dmengine _Z11engine_mainiPPc+98
JCash commented 2 years ago

Hmm, havent't seen that issue before. I'll add a ticket in the main repo for this.

Jhonnyg commented 2 years ago

So the steps to reproduce this bug is that you basically build+run this project in the editor? https://github.com/britzl/lowrezjam-template

I can't seem to be able to reproduce it. Does it happen every run?

unindented commented 2 years ago

So the steps to reproduce this bug is that you basically build+run this project in the editor?

It was reproducing consistently when pressing F5. But now I've tried rebuilding with Shift + Cmd + B, and it's working fine?

I'll close, cause it seems there was some cached artifact somewhere that was breaking things.