Venister Posted December 12, 2017 Share Posted December 12, 2017 Hello. I just started to implement the integration with Viveport and our game. I tested some codes about statistics, achievements and others. But I couldn't figure how to test DRM for my game. In Unity editor, Api.GetLicense always returns '900001', "License verification failed'. Before I release our game for Viveport, cannot I test my code with Viveport DRM? Link to comment Share on other sites More sharing options...
HackPerception Posted December 12, 2017 Share Posted December 12, 2017 Hi , We recently updated our DRM system and I have not been briefed on specifics about the new system so I'm currently a bit out of the loop. We have a developer focused call in a few hours and I'll be sure to mention your issue and get the proper details to lend a hand. Can you verify which engine version and SDK version you're trying to implement? Thanks! Link to comment Share on other sites More sharing options...
Venister Posted December 13, 2017 Author Share Posted December 13, 2017 Hello, Thanks for your reply, VibrantNebula. I'm currently using Unity 2017.2 f3(64bit) and Viveport SDK 1.7.0.x.(C# version: 1.7.0.2, Native version: 1.7.0.1) My code follows the instructions from your sample code. void Awake() -> calls Api.Init(InitStatusHandler, APPID) InitStatusHandler() -> calls UserStats.IsReady(IsReadyHandler) IsReadyHandler() -> calls Api.GetLicense(new LicenseChecker(), APPID, APPKEY)Needless to say, the LicenseChecker class was overrided from 'Api.LicenseChecker', and I implemented OnFailure and OnSuccess. I didn't build my game, just tested on Unity editor. - Because there was no problem on other VR stores like Oculus store and Steam. So I wondered the followings, Cannot I test your DRM system while I'm using Unity editor? If then do I have to release my game to test DRM system? Link to comment Share on other sites More sharing options...
HackPerception Posted December 13, 2017 Share Posted December 13, 2017 Thanks for the detailed report, it really helps! I'll let you know as soon as I hear back from our SDK team. Link to comment Share on other sites More sharing options...
yakingkuo Posted December 13, 2017 Share Posted December 13, 2017 Hi , the error code means ERROR_INVALID_PUBLIC_KEY. Did you input the correct app ID? You could see the screen shot below to know where is your viveport id. And please let me know it solves your problem. Thanks a lot. Link to comment Share on other sites More sharing options...
yakingkuo Posted December 13, 2017 Share Posted December 13, 2017 Please input your Viveport ID of your game on the developer console, and try it again. (Don't use the "Copy test id" button on the right side.) Thanks. Link to comment Share on other sites More sharing options...
Venister Posted December 14, 2017 Author Share Posted December 14, 2017 Hi, yakingkuo. Thanks for your kind help. There was no error in Viveport Id. But I just found that I put wrong Viveport key into my source code. :( After I changed the key, it works pretty well. Thanks again! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.