Issue with Reflection on WebGL for 1 node – find object with tag

Forums 💬 FlowCanvas ⚙️ Support Issue with Reflection on WebGL for 1 node – find object with tag

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #12156
    nightowlgaming
    Participant

      Hello!

      I am trying to work with WebGL exports in Unity 2020 using only FlowCavas as addon, and while its mostly running, I’m getting strange reflection errors:

      “DC001a_47.framework.js:3433 <b>(Validation Error)</b>: Missing Reflected Info ‘UnityEngine.Component.get_tag.System.String ()'”

      ^ but I did Generate AOTClasses.cs and link.xml files

      Basically it seems like GameObject.Find nodes are fine (searching game object name) – but for some reason doing the GameObject.Find With Tag node causes a Reflected Info error as above.

      What do I need to do for this find with tag function to be included in the reflected data?

       

      #12158
      Gavalakis
      Keymaster

        Hello from here as well.

        I have replied to your email 🙂

        (For others reading: You need to add the Component type in the Preferred Types Editor”)

        #12157
        nightowlgaming
        Participant

          Turns out this was resolved by adding ‘Component’ to the Preferred Types list, and then generating new AOT classes before exporting to WebGL.

           

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