defold / defold/template-rive

Defold 1.10.2 is currently required, 1.10.1 crashes on build

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Likely somewhat expected behavior since the latest extension-rive is used as a dependency (https://github.com/defold/extension-rive/archive/refs/heads/main.zip), but just wanted to open this issue in case anyone is searching for a solution. For now you can change the extension-rive dependency to the latest stable release that works with both Defold 1.10.1 and 1.10.2: https://github.com/defold/extension-rive/archive/5.0.0.zip
```
INFO:DLIB: Log server started on port 54204
INFO:ENGINE: Target listening with name: MacBook-CQ31G - 192.168.86.41 - Darwin
INFO:ENGINE: Engine service started on port 54205
INFO:GRAPHICS: Installed graphics device 'ADAPTER_FAMILY_VULKAN'
INFO:ENGINE: Defold Engine 1.10.1 (d8e6e73)
INFO:DLIB: Initialized Remotery (ws://127.0.0.1:17815/rmt)
INFO:GRAPHICS: Vulkan device selected: Apple M3 Max
INFO:ENGINE: Loading data from: build/default
INFO:RIVEEXT: Registered Rive extension

INFO:SOUND: DSP backend: Fallback
INFO:SOUND: Sound
INFO:SOUND: nSamplesPerSec: 48000
INFO:ENGINE: Initialised sound device 'default'
INFO:RIVEEXT: Display Factor: 2
INFO:RIVEEXT: Change size to 2560, 1440
INFO:CRASH: Successfully wrote Crashdump to file: /Users/kreilly/Library/Application Support/Defold/_crash
ERROR:CRASH: CALL STACK:

ERROR:CRASH: 0 dmengine 0x000000010512d2d8 _ZN7dmCrash7OnCrashEi + 104
ERROR:CRASH: 1 libsystem_platform.dylib 0x0000000185d44624 _sigtramp + 56
ERROR:CRASH: 2 dmengine 0x0000000104d76628 _ZN9MVKDevice15getMetalObjectsEP27VkExportMetalObjectsInfoEXT + 292
ERROR:CRASH: 3 dmengine 0x0000000104d76628 _ZN9MVKDevice15getMetalObjectsEP27VkExportMetalObjectsInfoEXT + 292
ERROR:CRASH: 4 dmengine 0x0000000104d1cba0 vkExportMetalObjectsEXT + 72
ERROR:CRASH: 5 dmengine 0x0000000104f87100 _ZN10dmGraphics20VulkanTextureToMetalEPvRKy + 112
ERROR:CRASH: 6 dmengine 0x0000000104c1d690 _ZN6dmRive23DefoldRiveRendererMetal13OnSizeChangedEjjjb + 228
ERROR:CRASH: 7 dmengine 0x0000000104c1da34 _ZN6dmRive11RenderBeginEPvP15ResourceFactoryRKNS_17RenderBeginParamsE + 248
ERROR:CRASH: 8 dmengine 0x0000000104c195ac _ZN6dmRiveL18RenderListDispatchERKN8dmRender24RenderListDispatchParamsE + 156
ERROR:CRASH: 9 dmengine 0x0000000105005cd0 _ZN8dmRender14DrawRenderListEPNS_13RenderContextEPNS_9PredicateEPNS_19NamedConstantBufferEPKNS_14FrustumOptionsE + 2924
ERROR:CRASH: 10 dmengine 0x00000001050089b0 _ZN8dmRender13ParseCommandsEPNS_13RenderContextEPNS_7CommandEj + 632
ERROR:CRASH: 11 dmengine 0x000000010500d2d4 _ZN8dmRender26UpdateRenderScriptInstanceEPNS_20RenderScriptInstanceEf + 144
ERROR:CRASH: 12 dmengine 0x0000000104c24394 _ZN8dmEngine4StepEPNS_6EngineE + 1292
ERROR:CRASH: 13 dmengine 0x0000000104c249c4 _Z14dmEngineUpdatePN8dmEngine6EngineE + 32
ERROR:CRASH: 14 dmengine 0x0000000104c257b8 _ZN8dmEngine7RunLoopEPKNS_13RunLoopParamsE + 104
ERROR:CRASH: 15 dmengine 0x0000000104c25624 _Z11engine_mainiPPc + 104
ERROR:CRASH: 16 dyld 0x000000018596ab98 start + 6076
ERROR:CRASH:
```
Please feel free to close this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Compare the extension-rive main dependency with the 5.0.0 archive and reproduce the crash using Defold 1.10.1 on the macOS setup shown. Start from the Rive renderer and Vulkan-to-Metal entries in the reported call stack; done means the template builds and runs on both Defold 1.10.1 and 1.10.2 without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.