Windows.LicenseInformation.isOnAppTrial

Is Windows.LicenseInformation.isOnAppTrial not supported anymore? I could not find it on docs anymore.

My game have a strange crash bug on DOTNET (Access Violation and Closes when Running on Master, but it works on Debug) which does not happens on IL2CPP. But it crashs when I try to call Windows.LicenseInformation.isOnAppTrial(). Is this expected? What else can I use to check this?

Thanks
Cezar Wagenheimer

Another problem! I failed certification with this error :

The types in the Druids_Battle_of_Magic namespace are located in file C:\Program Files\WindowsApps\21128SevenSailsLtda.DruidsBattleofMagic_1.1.3.0_x64__d9hk8b8h8qd1j\Druids Battle of Magic.winmd that does not match the namespace.

Any advice?

I’m using Unity 5.4.0b16

It should be still supported. Not sure why it’s missing in the docs, could you submit a bug regarding this please.

As for access violation, under the hood, Unity calls CurrentApp.LicenseInformation.IsTrial for this function, can you add this code in MainPage.xaml.cs and see if it works for you then.

For WACK error, not sure, we do run automated tests regarding this for WACK, might be related to whitespaces. I think there may have been a similar error in WACK itself, try updating Visual Studio 2015.