- Home /
What platforms don't support reflection?
I'm releasing an asset of mine (uFAction) that depends a lot on reflection. A friend warned me that reflection isn't available in say, windows phone. Now since I started unity I haven't built anything for any platform other than standalone so I'm not familiar with other platforms.
What other platforms out there that don't support reflection? iOS maybe?
Thanks.
Answer by Roland1234 · May 11, 2014 at 04:41 PM
I don't have all the details and like you I haven't deployed for any platforms other than standalone and webplayer, but it seems that the only platforms you'd need to worry about are those that don't actually use Mono - which seem to only be Windows Store and Windows Phone 8, both of which seems to use their own slightly different flavor of .NET, though Windows Store seems to be the more problematic one. Check out this page in the Unity documentation regarding Window Store along with this one on MSDN.
I'm afraid that's the extent of all I know as I've yet to actually deal with these issues myself. Hope it helps or someone else with actual experience can help clarify things.
Thanks for the help. I added a note warning users that I currently don't support platforms that don't play nice with reflection.
Answer by gdubrocks · May 11, 2014 at 06:47 AM
This poster seems to have reflection working on iOS. http://forum.unity3d.com/threads/195688-Error-type-System-Reflection-Emit-when-Build-a-project
Hmm? Not sure how this helps. In his particular case it worked because he removed the files that were causing the issue.