Project GPM data does not exist. Creating new object. (Unity 3d) - unity3d

Using Google Play Services v 0.9.37 Unity 5.5 I already tried to google it but didn't get any anything related to it. Problem is Google play services plugin not working properly even not showing any error except this in console:
"Project GPM data does not exist. Creating new object. UnityEngine.Debug:Log(Object) Google.PackageManager.LoggingController:Log(String) Google.PackageManager.ProjectManagerController:InflateProjectRecord(String) Google.PackageManager.ProjectManagerController:.cctor() UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()"
any solution ?

I faced the same error today after updating GPS. Which version of Google play services do you use ? Because, with the previous version, I didn't have this issue.

Answer 👍
Unity not support network connection show this shows this warning and don't forget to add testers in developer console.

Related

Google Play games Unity plugin error: "Invalid classname"

I'm getting an error when I try to setup the Google Play Games in Unity.
Google Play Games plugin version: 0.10.12
I have two versions of a single game project. One is with Unity version 2019.4.15f1. Other is with 2021.3.2f1.
The new version has some changes and fixes to the game and different ads provider, so I can't just use the older version just for the Google Play Games plugin.
When I use this plugin with Unity version 2019, I am able to save the configuration, but when I use the same plugin with Unity version 2021, I keep getting this error:
Invalid classname: Object reference not set to an instance of an object
I tried downgrading to 0.9.53 but that causes the same issue in 2021, and I also tried upgrading to 0.11.01 which seems to save the configuration, but doesn't have the option to sign out of google play games which is necessary for me.
I also got that error but now I solved it.
Using Unity version "2020.3.23f1.
It will be okay.
If you do, the error comes out then reboot your computer.

Hololens2 Azure Spatial Anchors Tutorial Crash

Trying to follow the Microsoft Azure Spatial Anchors tutorial (even after it was recently updated) but the Release build of the project crashes on launch on the device (just after the Unity splash screen). Interestingly a Debug build of the same project seems to launch ok.
I've been able to build, deploy, test both the basic Hololen2 tutorials and the ASA Samples as well as some custom projects so don't think this is a general development or deployment issue.
Have others been able to follow this tutorial and successfully deploy to a device recently and/or is there any suggestions to diagnose the issue further?
Setup and Unity packages used (as per the tutorial and linked instructions):
Hololens OS (up to date): 19041.1136
Unity 2019.4.19f1
com.microsoft.azure.spatial-anchors-sdk.core#2.7.1
com.microsoft.azure.spatial-anchors-sdk.windows#2.7.1
MRTK Foundation - 2.5.3 from the basic tutorial series (MRTK Package Tool)
AR Foundation: 3.1.3
Windows Mixed Reality: 4.2.1 (downgrade from 4.2.3?)
MRTK.HoloLens2.Unity.Tutorials.Assets.GettingStarted.2.4.0.unitypackage
MRTK.HoloLens2.Unity.Tutorials.Assets.AzureSpatialAnchors.2.4.0.unitypackage
Note: MRTK.HoloLens2.Unity.Tutorials.Assets.AzureSpatialAnchors.2.4.0.unitypackage listed in the tutorial actually links to a new 2.5.3 package (https://github.com/microsoft/MixedRealityLearning/releases/tag/azure-spatial-anchors-v2.5.3) however the version file in this package still has 2.4.0??
Exception thrown at 0x00000226E0FBCC40 in Workspace Hololens2 MRTK.exe: 0xC0000005: Access violation executing location 0x00000226E0FBCC40.
Have you tried to upgrade the ASA SDK to version 2.7.2 (https://github.com/Azure/azure-spatial-anchors-samples/releases/tag/v2.7.2)?
They have recently fixed an error exactly like the one you're reporting:
"The first bug was specific to ARM32 builds running on HoloLens 2 and was manifesting as an access violation crash in SDK during anchor creation or query."
I have the same Problem. Running it without the Debug Window worked for me!

error CS0234: The type or namespace name `iOS' does not exist in the namespace `UnityEditor'. Are you missing an assembly reference?

I have installed the latest versions of Unity (2017.3.1), Daydream SDKs (GVR SDK for Unity v1.130.0) and followed the steps here: https://developers.google.com/vr/develop/unity/get-started#configure_build_settings_and_player_settings
However when I press Play I get the following error, ideas on what is the reason & how to fix it?
Assets/GoogleVR/Editor/GvrBuildProcessor.cs(20,19): error CS0234: The type or namespace name 'iOS' does not exist in the namespace 'UnityEditor'. Are you missing an assembly reference?
Edit: Issue fixed after a few hours of submission on GitHub with the release of GVR SDK for Unity v1.130.1
If you're facing with this problem there are 2 steps to solve it:
Make sure that "iOS Build Support" is checked in Unity Hub -> Installs as Adam mentioned (if U're developing for iOS platform then this option most definitely is already checked).
Place your script in Assets -> Editor folder. UnityEditor.iOS.Xcode namespace cannot be used in your main project. It works only in special Assembly-CSharp-Editor project intended to modify native Xcode project. (That's the option that worked for me after searching a ton of forums).
The Official Solution:
https://forum.unity.com/threads/unityeditor-ios-xcode-ios-namespace-doesnt-exist.365381/
Step by step I did:
Figure 1 shows the Unity Download Assistent installation file that should be run.
Figure 2 shows the "iOS Build Support" option that should be checked for installation.
I went ahead and changed the "Current Platform" to "iOS" in Unity Hub, This is a quick fix and it works now.
Change "Current Platform" to iOS Image:
If you have installed IOS build through unity hub while the project is open, try restarting Unity Hub and Unity Editor. This solved my issue.
I met this issue When useing unity-arkit-plugin to develop something, i did nothing but import this plugin it throw this error .
And after i installed UnitySetup-IOS-Support-for-Editor-2017.3.0f3.pkg ,the issue fixed.
This usually happens when iOS Build Support is not installed in Unity Hub

Google Analytics Unity throws ClassNotFound since upgrade to play-services-analytics-9.4.0.aar

Google Analytics V4 was working well in my Unity project linking with play-services-analytics-8.4.0.aar. I've now upgraded to the latest Play Services including play-services-analytics-9.4.0.aar. I can build an apk successfully but calls to Google Analytics fail:
java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.analytics.GoogleAnalytics"
I also tried adding libGoogleAnalyticsServices.jar from the git project (a long shot) but that made no difference.
Advice?
Instead of play-services-analytics-9.4.0.aar, copy play-services-analytics-impl-9.4.0.aar. But you may still need play-services-analytics-9.4.0.aar for some of the analytics feature. If you want to be sure, copy both.
My best guess is this is related to Unity Google Analytics v4 works for Editor and iOS, not for Android
Having spent a day on it, I'm just removing Google Analytics for now; hopefully there will be an update to the Unity Google Analytics plugin that makes it compatible with Google Play 9.4

Integrating GPGS and AdMob or Vungle

Using Unity 5.2.3.
Using Android SDK Rev. 23.1.1
Using Google Play Game Services Package 0.9.31a (Services Version 8.4.0) for unity.
Using AdMob 3.0.1
Using Vungle (can't link, stackoverflow not allowing more than 2 links)
Note: I am using AdMob and Vungle separately with Play game services.
I have integrated Play game services with my app and that's work fine but whenever I try to include any other packages like AdMob or Vungle following happens.
AdMob: I have included the package, whenever Compile or Reopen the project play-services-basement-8.4.0 get deleted, Play Games Package has Resolve Client Jars and I am 100% sure that to blame.
Vungle: I configured Vungle Package as described in their documentation but again whenever I compile or reopen the Project several of Vungle files along with Vungle's main file Assets/Plugins/Android/libs/"android-support-v4.jar" get deleted. Again maybe Resolve Client Jars to blame.
In both cases above, I have manually copied the missing files and include them while Unity was closed but those were gone as soon as project opens.
I have issued a bug report with Unity but they said they can't help with 3rd party and they don't have issue on Unity's end.
Please Help and let me know any additional information, ill be happy to assist you.
Regards,
Since PlayServicesResolver just find dependency by rules and copy "NEWEST" to project folder and Google Play Games already have dependency on support-library-v4 23.1.+. , we can not resolve this within Unity Plugin.
I would recommend:
As work around, you can navigate to Assets>Google Play Services>Settings>uncheck-"enable background resolution"
and manually copy support library from
$sdk/extras/android/m2repository/com/android/support/support-v4/21.0.3/support-v4-21.0.3.aar
to
Assets/Plugins/Android, and run Assets>Google Play Services>Resolve Client Jars and keep 21.0.3"
This will leave "older version" of "android-support-v4.jar", but Google Play Games might not work with this version of "android-support-v4.jar".
Can you please try this?
Thanks!