I am developing a game in unity 3d. My problem in this game is that I am unable to integrate admob. I tried so many tutorials and followed many blogs but no result.
Please help me regarding this.
Are you using the old AdMob or the new system? If you are using the new systemm you must have Google Play Center downloaded in your Android SDK. Also make sure that you have the java jdk installed and your user path is updated. Here is a good guide on how to do it:
http://answers.unity3d.com/questions/828689/resource-compilation-failed-failed-to-recompile-an.html
Update your android sdk to latest version
copy "android-sdk\extras\google\google_play_services\libproject\google-play-services_lib" this folder to your "Assets\Plugins\Android" folder
Update/Check your AndroidManifest.xml (min, max, targetsdkversion)
Related
I want to integrate Flutter app with Unity and AR Vuforia. I tried to use library: flutter_unity_widget (https://pub.dev/packages/flutter_unity_widget).
When integrating Flutter app with Unity without Vuforia it works very well. But when I tried to use it with Vuforia … OK, I didn't get any error and I could build app, but when I tested it, it didn't show any object.
I did all the configuration with the library tutorial.
Maybe some of you integrated something like that?
Do you have any sample project with it?
You can check out this blog about "Building with Flutter + Unity (AR Experience Toolkit)" for unity.
And for AR Vuforia, it seems that support for this is not yet materialized as of this GitHub post. You can watch out for the updates there.
The same thing happened to me when I was testing on iOS, Android was OK
I went through all the steps, only that Vuforia didn't recognize anything. According to this issue Dataset Foo could not be loaded and cannot be activated, I dragged and dropped the data folder and Vuforia into the Runner.
And everything was working fine
I'm almost new to Unity3D, I've watched this presentation of Unity evengelist made in February 2016:
https://www.youtube.com/watch?v=pK0ZD53gOoE
Evengelist said and showed that to bring project to VR you need to select one checkbox (Virtual Reality Supported). Now in 5.5 version just downloaded, when I select Virtual Reality Supported it says also "you must add at least one VR SDK", also after that checkbox selected when I click play scene, I do not see two eyes screen, just ordinary view. When last year I tried to make VR for Cardboard and loaded Cardboard SDK, scene view showed two screens to each eye in play mode.
So the question - how now make VR that works on Cardboard in Unity3d? Do I still need Cardboard SDK (I don't need magnet input support or similar, just stereo and head movement support)?
Added: I don't have Cardboard SDK option in Unity somehow:
According to Unity Blog, Cardboard support is exclusive to Android only. iOS Cardboard support will be added soon.
Do I still need Cardboard SDK
I don't think you need the SDK. This is now Native support for Cardboard. Although,you can still download the Cardboard SDK and Unity will automatically use it.
And here is how to enable Cardboard SDK in Unity 5.5.
Thanks Programmer for your answer, it helped me find what my issue was. However, I've spent literally all of my time over the past few days trying to get Google Cardboard and Unity setup, so I figured I can at least post my answer too.
One problem I initially ran into was that I was trying to use GVR Unity SDK v1.1. There are several bugs in this version, so I reverted back to the GVR Unity SDK v1.0.3. This can be downloaded from the github repo: https://codeload.github.com/googlevr/gvr-unity-sdk/zip/f391c2436426857899af1c37f0720b3985631eb3
Then, I ran into multiple problems just getting things to run on android, so I found that I have to use build tools version 24.0.1. This can be downloaded using the Android SDK Manager executable.
Lastly, the "cardboard" option wasn't appearing for me as part of the drop downs, just like in the picture posted by the asker. The problem was that I was using a regular version of Unity, when I needed to actually be using the technical preview. This can be downloaded from https://unity3d.com/partners/google/daydream, and I'm running Unity v5.4.2f2-GVR13.
Then the drop down "cardboard" appeared, and I was able to follow google's official instructions (https://developers.google.com/vr/unity/get-started) and get things set up.
I ended up installing the Unity 5.6 Beta and got my Cardboard app built quite simply using the EasyMovieTexture store asset, turning on VR in Player Settings and adding Google Cardboard. It is working great in IOS and Android. I am working on turning off the Google Overlay as my app toggles between Cardboard and a simple 360 view and that is a proving a challenge. It seems from what I have read Google does not want you to turn off their overlay. I might try to do this natively on IOS.
I am trying to implement Interstitials with Admob Plugin in Unity 4.6 and its a requirement to stick to the current scheme and achieve this target.
What is Happening
I have tried many things but unable to get the interstials work with Admob Plugin. I am using this Plugin. As the whole application is built on this plugin so I cant use another or new plugin.
Any Tutorial, Video Link or Code Snippet would be appreciated.
I can't figure out how to get my Unity app to recognize images from the cloud using the Metaio SDK. Could anyone point me to the method, API or tutorial to allow this on Unity/Metaio?
For example, I've got my Unity app working with Metaio to recognize a local image, that is, an image that I've placed in the Resources folder. I would like to build an app that can recognize images in the cloud (metaio servers) such that no image file would need to be bundled into the application itself.
Some details: I'm using Unity Pro 4.5.5 with Metaio SDK 6.0, trying to build an app for Android
The Metaio SDK installer includes example of Cloud based image recognition a.k.a. Visual Search. Please refer to the Visual Search scene in the Unity example. More information can be found here: https://dev.metaio.com/visual-search/general-information/
Is there any SDK available for Unity 3D for making an ios game .I am new to this unity 3D,I have found many things while searching as download unity development tool then we can make apps which can run on both Windows and Mac.
My doubts are
1.How we can make an unity 3D app using xcode?
2.Can we use objective c code?(I got informations like we can only use javascript/c# for mobile app development in unity 3D)
Please help me...
thanks in Advance
http://unity3d.com/unity/licenses