Ads are enabled on the services.
Project is linked on the right project ID.
Ads settings shows right game ID for iOS and Android.
Test mode is enabled.
What should I try next?
Ads are enabled on the services.
Project is linked on the right project ID.
Ads settings shows right game ID for iOS and Android.
Test mode is enabled.
What should I try next?
m_InitializeOnStartup: was 0, changed it to 1, restarted Unity and it won’t compile.
Problem started after project was moved under another organisation, can it cause this kind of behaviour?
And you have selected Android/IOS as active platform in Build Settings window?
Face, meet palm. Palm, this is face.
…
Funny, that didn’t help until I reverted changes that were made on the field m_EnabledPlatforms. What does that field indicate?
m_EnabledPlatforms indicates which platforms are selected, and should be 4294967295 for enabling Android and iOS. Honestly don’t know which enum values/combinations leads to that value ![]()
Example of a working ProjectSettings/UnityConnectSettings.asset file:
UnityAdsSettings:
m_Enabled: 1
m_InitializeOnStartup: 1
m_TestMode: 0
m_EnabledPlatforms: 4294967295
m_IosGameId: (id)
m_AndroidGameId: (id)
/Rasmus
worked like charm