Vuforia on Flutter says "engine init error" - unity3d

Here iam working with Unity+Vuforia and Flutter
While i play and build the unity app in the unity with vuforia, it works fine
But after i export it to my flutter project using this method, when i press the button from my app to open the unity scene, it says : error screenshot
Any suggestions?
Regards, Slim

The package is corrupted, you can see the many problems in the issues section. Unity runs better on flutter using this package. You can see a full integration example we created in this repo.

Related

Copy Paste not working in my Flutter Overlay android App

I am using an Android plugin for displaying flutter app over other android apps: android_window 0.1.1, Some functionalities are still missing in the Overlay Widget, not in the home, the most important for me is the Copy Paste, I can't Copy paste using Clipboard.setData or other Plugins, This is a simple code example reproducing the issue: Github, I am testing using my Huawei P20 Lite.
Any little help will be very welcome, Thank you in advance.

Failed to fetch the following dependencies: com.google.android.gms:play-services-ads:19.0.0

I am using Unity 2019.3.6f1 and Google Mobile Ads Unity Plugin v5.0.1. I have imported the plugin to my Unity editor. When I try to resolve, error message appear and ask to look at console. Message at console "Failed to fetch the following dependencies: com.google.android.gms:play-services-ads:19.0.0". This is my third time making game using unity but first time happen to me. Hope anyone can give me idea what is happening and how to fix this.
"Can you confirm that you have the externs.cpp file in Assets/Plugins/Android (included in the Google Mobile Ads Unity package) and that it is checked for inclusion in Android builds, as per below?"
Answer taken from Issue in v5.0.1. See this.

Why the integration of Flutter with Unity and AR Vuforia makes no object appears?

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

Unity Google VR Additional libraries must be imported please upgrade

Hello I have trouble importing the google vr package in unity , my unity is already updated but this appears
I just had the same issue. I wanted to update the Cardboard SDK on an old project so I downloaded it from Github and imported the GoogleVRForUnity.unitypackage.
Every time I press play I have this message that pops. It works fine if I ignore it, but you can also click Import Package and it will open the gvr-5.2-and-5.3-compatible.unitypackage that's inside the GoogleVR folder. Import the content and the message will stop poping.
It looks like a bug thought, because I'm using Unity 5.4.0, so I should not need any compatibility for 5.2 or 5.3.
EDIT:
I just realized that now you also need a special version of Unity to use the GVR SDK 1.0. Right now (9/10/16) it's Unity 5.4.1f1-GVR7.1 available here. Maybe that's why it was complaining about my Unity version.

Chartboost test scene not working in unity

I made an app for android with unity3d, and want to include chartboost into it. I imported the plugin for unity, and added an app as well as a campaign on chartboost. I also made sure that the signature and app name were put into the strings.xml file. When I tried running the demo scene, the buttons appeared, but when I tried to click them, nothing happens, not even a message in the console. What am I doing wrong?
Thanks for the help in advance!
Lagidigu
As far as I know, chartboost does not work in the editor. You will need to build to a device and use logcat to see the log messages. However their unity plugin seems to be in need of some fixing- in the meantime, email them at support#chartboost.com and they should send you a workaround .jar file that will get the ads showing in the demo.
See my answer to This Question for details about why the ads aren't showing up using the newest Chartboost unity plugin.
I think their plugin is broken because my other apps DO show ads, and i did nothing different except using their latest plugin, which also for me does not work.