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

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

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3227
    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?

     

    Attachments:
    You must be logged in to view attached files.
    #3229
    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”)

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

    #3230
    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.