https://linen.dev logo
Join Discord
Powered by
# ceramic
  • a

    ambitious-knife-25690

    01/25/2023, 10:32 PM
    thanks that got me info
  • a

    ambitious-knife-25690

    01/25/2023, 10:32 PM
    but the info doesn't tell me what part of my code is failing 😂
  • a

    ambitious-knife-25690

    01/25/2023, 10:32 PM
    what could cause this error?
  • b

    billowy-waiter-28954

    01/25/2023, 10:46 PM
    It could be because you created a mesh but didn't assign a color or a colors array
  • b

    billowy-waiter-28954

    01/25/2023, 10:46 PM
    crashing the renderer because it doesn't find the color
  • b

    billowy-waiter-28954

    01/25/2023, 10:48 PM
    If you add
    ceramic_debug_draw
    define it will give you the exact line in
    Renderer.drawMesh()
    where it crashes
  • b

    billowy-waiter-28954

    01/25/2023, 10:49 PM
    I should probably add some mesh-related checks to give more meaningful errors when running in debug mode
  • a

    ambitious-knife-25690

    01/25/2023, 10:50 PM
    hmm, how do i interpret this?
  • a

    ambitious-knife-25690

    01/25/2023, 10:50 PM
    it did add
    drawMesh
    to the callstack
  • a

    ambitious-knife-25690

    01/25/2023, 10:50 PM
    but still, no callsite for my own app
  • b

    billowy-waiter-28954

    01/25/2023, 10:52 PM
    https://github.com/ceramic-engine/ceramic/issues/109
  • b

    billowy-waiter-28954

    01/25/2023, 10:53 PM
    Ah right, yes it doesn't tell you this, but the line in the renderer should tell you what data is incorrect, which can still help
  • b

    billowy-waiter-28954

    01/25/2023, 10:53 PM
    (what is the line in Renderer?)
  • a

    ambitious-knife-25690

    01/25/2023, 10:55 PM
    Okay, you were right
  • a

    ambitious-knife-25690

    01/25/2023, 10:55 PM
    I inited the mesh with
    Color.NONE
  • a

    ambitious-knife-25690

    01/25/2023, 10:56 PM
    and app runs
  • a

    ambitious-knife-25690

    01/25/2023, 10:56 PM
    however the colours are waaaaay off 😄
  • b

    billowy-waiter-28954

    01/25/2023, 10:57 PM
    You'll figure it out I'm sure xD
  • a

    ambitious-knife-25690

    01/25/2023, 11:11 PM
    i mean, it looks like background colors aren't working
  • a

    ambitious-knife-25690

    01/25/2023, 11:12 PM
    i do overwrite the base mesh color 🤔
  • a

    ambitious-knife-25690

    01/25/2023, 11:12 PM
    oh lol, i think i know
  • a

    ambitious-knife-25690

    01/25/2023, 11:15 PM
    oh this is really weird/unexpected behaviour
  • a

    ambitious-knife-25690

    01/25/2023, 11:16 PM
    (i set it to transparent there)
  • b

    billowy-waiter-28954

    01/25/2023, 11:17 PM
    If you have such inconsistency between web and c++, it may be because you do something that you shouldn't, but web being more forgiving...
  • a

    ambitious-knife-25690

    01/25/2023, 11:17 PM
    yeah, likely, but i thought i got rid of all the bad stuff lol
  • a

    ambitious-knife-25690

    01/25/2023, 11:18 PM
    the only "real" bad thing i did when first building this was inserting directly into the children tree
  • b

    billowy-waiter-28954

    01/25/2023, 11:18 PM
    What do you mean?
  • a

    ambitious-knife-25690

    01/25/2023, 11:19 PM
    by passing the readonlyarray
  • a

    ambitious-knife-25690

    01/25/2023, 11:19 PM
    I don't do that anymore 😆
  • b

    billowy-waiter-28954

    01/25/2023, 11:19 PM
    eeeeerh
1...454647...124Latest