Playmaker Forum
Bug Reporting => PlayMaker Bug Reporting => Topic started by: Graham on May 01, 2015, 01:39:09 PM
-
Can anyone tell me why using a "Get Component" or "Set Property" on a "Text Mesh" component causes a WebGL build to crash instantly?
This issue may not be limited to only this particular component, it is just the one I have found lately while trying to make my kits compatible with Unity 5 WebGL.
I'm using Playmaker v1.7.8.3 and Unity 5.0. I've attached a simple scene where you can see this behavior in action.
-
Yes, I also encounter this, although it builds fine with me, but any action regarding set property are completely ignored, is there a way to solve this?
-
Hi,
I would not use this 3d text anymore, it's deprecated, instead, use the new UI component.
I know for IOS you can use the link.xml, but on webgl, I don't know.
Check this thread, I created a linker wizard that gather reflection usage as you play the game and it generated the link.xml. Try this, it could work for webgl too, else I would refactor your game so that it doesn't use 3d text but the new UI system. You'll get the same effect, but it will be properly supported ( and you have all the custom actions you need on the wiki)
Bye,
Jean
-
Thank you Jean! I can confirm that this does indeed fix these issues in WebGL builds.