Adding trial experience in your game!

Hello

I’m trying to make a trial version of my game and i’m using the “UnityEngine.Windows.LicenseInformation.isOnAppTrial” to test if my game is in trial mode and “UnityEngine.Windows.LicenseInformation.PurchaseApp()” for buying the game. The problem is that the “isOnAppTrial” doesn’t seems to working,it always returns false even if i download the game from the store as a trial with a new windows account. Is there any additional work that i have to do in my “Selling Details” section on my developer account apart from set a free trial period that never expires? I also tried to use the Windows Store Plugin from Prime [31] but i couldn’t find any tutorials…

Thanks.

There is a new plugin in the Asset Store called WinRT Bridge (I think), which is free and has this functionality.

It should be as simple as a bool check to see if the app is a trial or not.

You don’t need to do anything else on the Windows Dev Center except of course allow trials and set the time period.

1 Like

Thank you for your reply, but it seems that eventually it works! Ο.ο And for your information, If you bought a game from the store and then make a new account and try to download the same game (with the new account) you will get the full version again!

isOnAppTrial seems to be always returning false to me, even If i download my game on trial mode. How did you fixed it?