#CloudServices.Synchronize

1 messages · Page 1 of 1 (latest)

muted sparrow
#

Hi,

I'm seeing this on android. It doesn't seem to matter where I put the Synchronize call, they just throw.
Not sure what I'm missing.
Already using Socials and Billing without issues. U6000.2.6f2, EssentialKit 3.5.0

10-14 11:15:53.488 8669 8706 E Unity : [VoxelBusters.CoreLibrary.EssentialKit] System.NullReferenceException: Object reference not set to an instance of an object.
10-14 11:15:53.488 8669 8706 E Unity : at VoxelBusters.CoreLibrary.KeyValueDataStore.Synchronize () [0x00000] in <00000000000000000000000000000000>:0
10-14 11:15:53.488 8669 8706 E Unity : at VoxelBusters.EssentialKit.CloudServices.Synchronize (VoxelBusters.CoreLibrary.Callback`1[TArg] callback) [0x00000] in <00000000000000000000000000000000>:0
10-14 11:15:53.488 8669 8706 E Unity : at GameSocials.Start () [0x00000] in <00000000000000000000000000000000>:0

Thanks,

muted sparrow
#

Trying to debug it, I can see its throwing in KeyValueDataStore,
m_dataCollection is initialised with 0 items.

JsonServiceProvider is null

    public void Synchronize()
    {
        string  jsonContent = ExternalServiceProvider.JsonServiceProvider.ToJson(m_dataCollection);
        IOServices.CreateFile(m_savePath, jsonContent);
    }
muted sparrow
#

Hmm, ignore. Some of your .cs was missing from GIT.

Some of your paths are impossible to add as they're too long, e.g. Assets\Plugins\VoxelBusters\EssentialKit\Plugins\iOS\BillingServices\Frameworks hopefully I dont need that.