#it seems this is a common problem, but I

1 messages · Page 1 of 1 (latest)

sly magnet
#

Hey Curious Dynamics, if you share your initialization code for UGS / Analytics I may be able to help

#

One thing we've seen before is that there's an option in the IAP package that will perform initialization for you. If you're using IAP you'll want to turn that option off if you're initializing things with a specific environment yourself.

arctic oar
sly magnet
#

Nothing's sticking out to me with your code, are you using the Unity IAP package?

arctic oar
sly magnet
#

You can open up the Package Manager (Window->Package Manager), Switch the selector to In Project and then look for In App Purchasing as an entry.

#

If you don't have it installed, it's possible UGS is being initialized from somewhere else in your codebase already, try searching for UnityServices.InitializeAsync in your project and see if it's being called from multiple locations.

arctic oar
#

something maybe worth noting is that I'm still getting standard events in the production environment, but none of my custom events show up there either

sly magnet
#

So you've received no events in your playtests_001 environment?

arctic oar
#

neither valid nor invalid

#

hmm in the standard events I get in the production environment, they still have "sdkMethod": "UA1_SDKLESS",, even after I switched off legacy analytics

sly magnet
#

Hmm, we can check a few more things, you can try explicitly setting Edit->Project Settings->Services->Environments->Editor Environment to your playtest_001 environment and running.

For SDKLESS - What's your ProjectSettings/UnityConnectSettings.asset file look like?

sly magnet
arctic oar
#

thanks I'll check this out asap and get back to you

arctic oar
arctic oar
arctic oar
sly magnet
#

To completely disable SDKLESS I believe you'll also need to set m_InitializeOnStartup: 0