Building a Unity project with the Affectiva SDK not working post build - unity3d

I've been building a game in Unity using the Affectiva Unity SDK, and I can test the game out within Unity fine - the camera turns on, the SDK is called, and I get the response I was expecting.
Yet when I go to build the project, it claims it builds successfully and the camera is activated when the scene starts.. but I get no responses from the SDK. No errors or anything..
Do I need to package this up specially or something?

I suspect the issue is that you are building a 32-bit app on OS X. Is that correct? If it is, can you instead create a universal build or a 64-bit build? The Unity plugin currently only supports the following build options:
Windows 64-bit
Windows 32-bit
OS X Universal
OS X 64-bit (x86_64)
For some odd reason Unity defaults OS X builds to 32-bit. There is documentation about the build requirements on Affectiva's developer portal at the bottom of the page.

Related

Arm64 is not showing in Unity 5.6.6 32bit

I made a game and tried to upload in google play store but it said to set my native code to 64 bit android. I searched for the solution in which I found out to check ARM64 in player setting but I couldn't find that check button. Could anyone help me..?
Based on this unity blog:
The move to a 64-bit Android world is imminent, and we at Unity
believe that it’s a good thing! We added support for Android 64-bit
with Unity 2018.2, and we have now backported it to Unity 2017.4. Read
on to get more details on Google’s 64-bit requirement, ARM 64-bit
advantages, and Android App Bundle support in Unity.

Unity aab not compliant with the Google Play 64-bit requirement

I have a Unity project that I'm switching from APKs to AABs (app bundles). Previously, when I was building it as an APK, the Google Play Console told me the APK was 64-bit compliant.
Now that I'm building an aab, I'm getting the warning:
This release is not compliant with the Google Play 64-bit requirement.
The following APKs or App Bundles are available to 64-bit devices, but
they only have 32-bit native code
I have both ARM7 and ARM64 architectures set.
I am excluding x86.
When I open the .aab in an archive viewer, the lib folder has all of
the .so's for both arm64-v8a and armabi-v7a.
I'm using IL2CPP, .NET 4.x
I'm using Unity 2018.3.7f1
My ndk version is 16b
My
Android Studio is up to 3.4.2 and gradle is 3.2
A lot of similar threads here talk about following the "Learn more" links, which I've done. I had already done all of the work to get my app 64-bit compliant before switching to app bundles.
Other threads talk about Android Studio solutions, which I can't use because my automated build process involves building with Unity from command line, so it has to be Unity configurations or bust.
My expectation was the app bundles were supposed to be the hot new way to let Google build better APKs for you, but it seems like it's getting confused on whether or not aabs are actually 64-bit compliant, which seems to defeat the whole purpose.
Is this a Unity problem, does Google have an error in their system with regards to app bundles, or is there some other step I'm missing?
For those who have this problem since yesterday (August 19, 2019):
In Player Settings > Other Settings you must now uncheck the x86 box (It is for the 32-bit Intel architecture).
You will now only have the following warning:
The device types on which your application can be installed will be more restricted.
But, in my case, it drops from 12392 devices to 12385 devices.
Here is the opinion of a Unity member on the issue:
x86 is used by less than 0.4% of all Android devices, so it shouldn't have any real impact.
x86 target will be removed completely in Unity 2019.3.
It looks that there was a bug in the Play Console where this message was displayed even when the AAB was compliant. This should have been fixed last Friday afternoon.
Try again now.

Develop hololens in unity with macbook

I'm new with unity and hololens and I started to explore it.
I have a macbook (I don't know if it is a problem).
I downloaded Unity with all the components (Vuforia, IL2CPP etc.).
When I change project settings for the hololens development I have some problems.
In particular when I check the box "Virtual Reality Supported" I don't find in the list below the Hololens option.
Also if I click on "+" button. I see: Vuforia, Oculus, OpenVr but not Hololens!
Furthermore also in the field: "scripting backend" i found only "none" and "IL2CPP".
Now, as I already say, i have downloaded all the components during the installation process.
Which is the problem?
Because Hololens runs on UWP, you need Windows. This is because the windows development libraries do not run on mac (or any Unix).
Your only option is to use something like boot camp to install windows 10 on your Mac (fast and works very well), or run a VM (a lot slower, but can be convenient if you develop on the mac and only build in the VM).
Everything should work fine with the exception of the hololens emulator, which does not work on every MacBook hardware.
You have to download the correct tools for Hololens development, here is the link:
https://learn.microsoft.com/en-us/windows/mixed-reality/install-the-tools

Tango Unity Examples Not Building

I have been trying to build and run the tango unity example on my new tango device and it doesn't seem to be working. As soon as the app launched the app crashes on my device. It just says Unfortunetely, Unity Examples has stopped.
I also tried to run a simple app with Tango AR camera and got the same result.
I am running Unity 5.4.0f3 (64-bit) with Android Studio 2.1.2. I installed all the tools on the Surface Book (Windows 10) on 8/1/2016
As stated on the Tango developers group on G+, Tango SDK does not support Unity 5.4 yet, you need to download 5.3.
Hi Devs,
Unity released version 5.4 last week. As a result, Tango development is broken. The team is aware of the issue is currenlty working to address the issue this month. In the meantime, the only workaround is to stay on Unity 5.3.
Thank you for your patience everyone.
https://plus.google.com/+ProjectTango/posts/N9DEz2RKZSb

Vuforia augment reality windows

Can you please tell me, if vuforia can run on a PC? I have tried to make an .EXE file, but it does not work.
Please tell me how can I run vuforia apps on my PC? Should I build it for Windows store using Unity and then run it on Windows 8?
Can you please tell me vuforia can run on pc
Answer is No. You cannot build windows or mac app with Vuforia. Vuforia is only supported on Mobile Platforms (iOS, Android).
But you want to test on Windows, you can run your app and test in unity Editor mode with webcamera attached. I hope it will answer your question.
download unity from the unity website , install & run
download vuforia and vuforia sample for unity on vuforia website
create unity project and add vuforia package to the project
There are some tutorials for you for importing the samples and ofcourse you need to get a key with the name of your project.
Have a look at this https://www.youtube.com/watch?v=HnjbTytHH6U
For now, and without plugin, the answer is no. But,
Vuforia is work on supporting win 10, so maybe months later, you can develop a win 10 universal app.
There is some plugin support build the app for windows and Mac, it costs much money. The plugin is provided by maximarouf
As the answers above, I agree that it is enough to run in unity editor for presantation and test.
Vuforia now has a Windows 10 Early Access Program. You can apply for participation and may get access to the Windows 10 UWP SDK.
However, it currently only supports Intel based devices, like the Surface Book and Surface Pro series.
Alternatively, you can use the Unity3D Plugin to build an app which works on Windows.
No vuforia is not supported . U will get Vuforiawrapper.dll missing error when you try to .
Instead what you could do is , make an APK , Download Bluestacks and install it in PC and emulate your vuforia app in PC . But no Vuforia is not made for PC. It supports UWP though which means Windows Tablet , Windows Phone, Hololens .