FlowCanvas Forums › Support › Issue with Reflection on WebGL for 1 node – find object with tag
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?
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
Turns out this was resolved by adding ‘Component’ to the Preferred Types list, and then generating new AOT classes before exporting to WebGL.
Username or Email