I get the below error while building for “Universal 10”
Documentation shows the namespace is there and it Works on editor, what might be wrong here?
I get the below error while building for “Universal 10”
Documentation shows the namespace is there and it Works on editor, what might be wrong here?
It works in Editor because scripts for Editor are compiled using mono.
You need to looks for specific markers that API is available in Universal 10. Actually the simplest way is to create a C# Universal App from Visual Studio and paste the code in question there. You’ll get clear errors for all unavailable types/methods etc.
Maybe it would be just easier, if not all but such widely used otherwise missing types to be shown in the documentation.
I mean, its really time consuming to do the write-try-sorrow loop
Documents about missing net types is really half a page thing about unity provided WinRTLegacy namespace but without actually mentioning what is missing.
You’re right. It’s a shame. Here’s the full list of types that are not present. I’ll try to get that into our docs.
2913481–214911–missing_types.txt (286 KB)