HI there,
(be gentle - relative newbie)…
I was wondering if anyone could help me get the Unity SDK up and running. I’m encountering the problem described here : https://github.com/parse-community/Parse-SDK-dotNET/issues/307
I think that the solution described in the main .net sdk readme describes steps that will mitigate against this, but I’m really struggling to understand exactly how to implement them.
Specifically this section :
new ParseClient(/* Parameters */,
new LateInitializedMutableServiceHub { },
new MetadataMutator
{
EnvironmentData = new EnvironmentData { OSVersion = SystemInfo.operatingSystem, Platform = $"Unity {Application.unityVersion} on {SystemInfo.operatingSystemFamily}", TimeZone = TimeZoneInfo.Local.StandardName },
HostManifestData = new HostManifestData { Name = Application.productName, Identifier = Application.productName, ShortVersion = Application.version, Version = Application.version }
},
new AbsoluteCacheLocationMutator
{
CustomAbsoluteCacheFilePath = $"{Application.persistentDataPath.Replace('/', Path.DirectorySeparatorChar)}{Path.DirectorySeparatorChar}Parse.cache"
}
).Publicize();
If anyone is able to help, perhaps sharing sample code that does connect that I can learn from, I’d hugely appreciate it!
Many thanks in advance!