How to use sphero unity plugin? - unity3d

I'm trying to use sphero unity plugin.
I'm download from GitHub. Evrything is OK but when I'm trying to lauch the sample app from Ipad2 it crashe.
I'm also try with the unity plugin in the asset store.
Did I forget anything ?
Thank you

We are seeing this crash on some projects because the "-all_load" linker flag isn't added in the xcodeproject. See this other stackoverflow project for a more detailed solution.
Sphero iOS Unity Plugin - Crash Following Sphero Connect

Related

How to integrate Unity and IronSource in Unity Editor and testing

I added IronSource Unity SDK.
But It doesn't not working.
Please help me for integration unity and ironsource.
You cannot test ads in the editor.
Build your project and test on the device.

Unity 3d error while opening the editor. Probably an error in the package manager

I am facing a problem with unity 3d editor. The issue is in both the versions of the Editor that I have downloaded being 2021 version and 2019.4 version. It occurs whenever I create and load up a new project in the unity editor.I have made no changes in the script or the scene so it is probably a problem with the packages. The module I have downloaded is the android build support and windows build support. Moreover I do not get any error message. I am attaching a screenshot. Please check the screenshot and please see what is the problem. Please help is you can. I will be very thankfulPlease see the picture and Help

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 Cardboard SDK not working in Unity 5.4.1f (Gvr Controller script not loaded)

I'm trying to use Google Cardboard SDK with Unity 5.4.1f (Free). After importing the unitypackage with SDK, I tried to run the demo scene, but I see only freezing camera. I can't look around with mouse, just static picture. And I see the errors in Console and Inspector tab. Here is the screenshot:
I tried to import different versions of Cardboard SDK and also tried Unity 5.3, but got the same errors. Please help me, I don't know what's wrong with it.
The project is likely corrupted. Make sure that the version of Unity you have is > the version used to build the Google Cardboard SDK.
If that's not the problem, close Unity, delete the current Google Cardboard SDK project and plugin. Download fresh version here.
After downloading it, import the GoogleVRForUnity.unitypackage file. This should fix your problem.
EDIT:
Things changed in the latest Google VR SDK update. The VR Demo Scenes now require VR
Technical preview to work. You can get the latest Unity version for VR here. Scroll down to the end of the page.
The latest version 5.4.2f2-GVR10.
Once you download this version of Unity UNITY_HAS_GOOGLEVR will be defined in Unity and you can now run the ControllerDemo demo.
Note:
You can run the DemoScene scene in Assets\GoogleVR\DemoScenes\HeadsetDemo directory without downloading the Unity GVR version. Right click on the Project tab then click Reimport All.
You just cannot run the ControllerDemo scene in Assets\GoogleVR\DemoScenes directory without downloading the Unity GVR version.

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!