Error when building for WebGL

FlowCanvas Forums Support Error when building for WebGL

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3560
    tomas.trescak
    Participant

    Hello, this is a rather concerning issue. When used FlowCanvas in my project the WebGL builds broke 🙁

    It took me several hours to track the error and I narrowed it down to a single use of Reflected property in my FlowCanvas.
    The property is “tint” in UiToolkit’s Image (Image.setTint).

    This would bring the whole build down not allowing it to load. Safari was not very helpful, but Chrome gave a bit more context (null error or functiion signature mismatch).

    I am happy to share the whole project with you as this is our testing ground for Flowcanvas to use it in our pipeline. This is unfortunately a show stopper as we are WebGL-oriented and doing such a tedious search for a culprit of build fail will not work. Moreover, it seems that reflection is somehow failing, not allowing us to depend on the functionality.

     

    Attachments:
    You must be logged in to view attached files.
    #3562
    tomas.trescak
    Participant

    So sad to receive zero support. Discord not helpful as well. Took a few days, but i found the undocumented button to generate some AOT fluff that solved my issue. If only this product, albeit quite clunky was not 100x better then Bolt ;( the lack of support is painful though.

    #3569
    Gavalakis
    Keymaster

    Hello again and sorry for the late reply.

    You indeed have to generate the AOT related classes and link.xml files ( please note that this is documented here by the way 🙂 )

    I am glad that your project is working with the generated files (?). Thank you and sorry for the late replies once again.

    Join us on Discord: https://discord.gg/97q2Rjh

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.