I’ve just made an empty project, I’ve set it to standalone platform, I’ve set the services to enable Unity Ads and I press play in edit mode and I got this error:
Error: Trying to get gameId of unsupported platform Win.
UnityEditor.Advertisements.UnityAdsEditor:EditorOnLoad()
UnityAdsEditor: Initialize(Invalid Game Id, True);
UnityEditor.Advertisements.UnityAdsEditor:EditorOnLoad()
UnityAdsEditor: Server returned error message: No numeric game id set, cannot send response
UnityEngine.Advertisements.<GetAdPlan>c__Iterator0:MoveNext()
UnityAdsEditor: Failed to fetch campaigns.
UnityEngine.Advertisements.<GetAdPlan>c__Iterator0:MoveNext()
When I was able to initialize Unity ads though code, I was able to write some Platform dependent directives and disable it automatically.
Yes, we do have an internal bug report for this and expect to fix it for a patch release soon. But shouldn’t affect ability to build games for platforms where Ads isn’t supported.
If you get this error on Android, it might simply be that the game is not ready on the back-end yet. Should however not take longer thank ~5 mins to make sure game information has been created and synced.
If someone has not been able to solve the problem, compile to android or iOS that will solve in Unity’s title bar has to be appearing android or iOS
Sorry for the English used the google translator.
Any chance we can expect a fix for this soon I see it is still a problem in latest 5.2.2p2?
Trying to convert an Android / iOS game to multiplayer where the easiest option for testing is to run a standalone windows build. It is quite frustrating having the editor pause every time I start the scene due to these errors (should perhaps be a warning instead).