New Cardboard SDK for Unity bug with S6 phones - android

We are facing a problem since we updated our cardboard SDK for Unity 5.1.3f1.
In the editor we see no problems at all but once builded for android on a S6 phone (edge or not) we get some fast white flash when we switch scenes. It doesn't happen with phones such as Nexus 5.
We tried to builds empty scenes as well as the cardboard demo but we have the exact same problem which would suggest the problem is not on our project.
Anyone has/had this problem? If so is there a solution or a suggestion because we are stuck on this one.
Thank you!

Related

Cardboard-xr-plugin causes the VR environment to stutter when moving the camera

When running the sample project 'HelloCardboard' from Google VR cardboard-xr-plugin on my Samsung Galaxy S9 (API Level 29) the view stutters when I look around (move the camera) in VR. This wasn't a problem when I used the old Google SDK on Unity 2019.4 in my own project.
I'm using Unity 2020.1
To make sure that it was not a performance issue, I have tested the following:
removing all assets from the demo scene, except for the camera and a simple plane
creating a new project with the cardboard xr plugin installed, without importing the 'HelloCardboard' demo scene
Since this didn't make a difference regarding the stuttering, I tried running the app after I:
installed a different SDK (which shouldn't be a problem but still)
changed the Graphics API from OpenGLES2 to OpenGLES3
None of this worked.
Does anyone know what (might) cause the stuttering? Or know where I can find the solution? Please help.
Did you try to deploy app to another smartphone?
Did you try new plugin-in Unity 2019.4?
Did you try to use 'Mono' Scripting Backend?

Unity GoogleVR1.2 Cardboard displays upside down on Samsung

Currently, I am trying to make the Virtual Tour app to play with cardboard, then get the demo completed and it's working like a charm in Editor Play mode and on my Lenovo Phab 2 phone. Unfortunately, when I install it on Samsung Note 9, the app displays upside down. I have tried change the orientation in player setting and edit the android manifest but still no luck are there any one know the solution? or is it the bug in GoogleVRSDK or Unity ,caused at first there is the lack in app build that Unity build the app as normal app not Cardboard one even GoogleVR Demo scene, but after restart Unity it works fine.
This is apparently an issue with Unity 2019.1.x and both Android and iOS.
Either, switch rendering from Vulkan to OpenGLES3 (Android, not sure about iOS)
Or, downgrade to 2018.3.14f (is said to work for both iOS and Android)
Track updates here:
https://github.com/googlevr/gvr-unity-sdk/issues/1030
https://github.com/googlevr/gvr-unity-sdk/issues/1031

shadows are showing in unity editor but not on android device

I am doing a game in unity game engine .
I started developing the game in 4.6 but later on unity 5 get released so i upgraded my project to unity 5 version now my game running on android devices but i have one problem with shadows of game-objects which are showed in unity editor but not on the device.I am not able sort out this problem. I am also using NGUI for game user interface.
just changed the quality settings to fastest
you can find that option in edit->project settings->quality->then in right side you will see levels for different platforms set it to fastest
this worked for me
Check your quality settings (Edit/Project Settings/Quality) and make sure the default quality level for Android has shadows enabled.
I had this problem too, and then discovered that it was a limitation of the device I was using. On a slightly older Asus Nexus 7 tablet, shadows wouldn't appear, no matter what I did in the Quality Settings. I switched to a Lenovo Yoga 2 tablet and everything worked fine.

Missing Asian Characters on Android 5.0 Devices

I'm using Unity4.5.4 and NGUI 3.6, and want to support multi-languages.
When I try on devices using Android 4, it is totally fine. When I install the same build on Google Nexus 7 using Android 5.0, English version is fine, but almost all the Asian characters cannot be displayed(Chinese Korean Japanese). I tried different fonts(using Arial or load my own font from Resource folder), it didn't work either.
Does anybody encounter similar problem, or know how to deal with this problem? Thanks a lot!
It has to do with the image that you have flashed into your Android device.
Although the APIs for Android 5.0 are now final, the system image for
end-users is not available yet.
Assume everything is done correctly, once the end-user-system images are released your problem should be corrected.
Reference.
This is a bug in Unity. You may want to submit a bug report and wait for a patch release to fix it (though you used a preview image, it is also likely to happen on retail Android 5.0).
Edit: I tried on a Nexus Player, and the fonts were rendering just fine. Looks like Google forgot to add some fonts to the preview image. If you are experiencing this issue with a retail version of Android 5.0, please submit a bug for Unity.

AS3 Air 3.3 app on Android always crashes after 4 seconds

I'm testing on an HTC Sensation, running android 4.0.3.
I'm publishing using FlashDevelop 4.0.3 and using the Air Mobile AS3 App template.
All the application does is display a Rectangle using:
this.graphics.beginFill(0x00FF00);
this.graphics.drawRect(0, 0, 100, 100);
Just so I can see that its actually publishing something.
The app runs correctly if I publish to the desktop, however when I switch to publishing it to the phone, the problem I'm facing is that the application publishes and runs on the phone, but only for a few seconds.. usually about 4 seconds and then it crashes out.
The really weird thing is that it was working fine about a week ago.. I'm not sure what's changed since then, but yeah it started happening this morning, I tried everything I could think of... including stripping everything out of the app and also doing a factory reset of my phone... nothing seems to have helped...
has anyone else had this problem? or have any ideas on what might be causing it or how to fix it? any help would be greatly appreciated.
Cheers
Update:
it seems changing the render mode to "auto" instead of "direct" stops the crashing, which is great, however if you need to use direct for stage3d content this doesn't really help. anyone else having this issue?
Can you post the source code of your application? I do too have HTC Sensation but my firmware version is 2.3.6. It would be interesting to test it.
I just updated my XPERIA ARC to ICS and now I'm having problems with AIR apps as well. Seems the app is not getting the Click/Touch interactions. Some InteractiveObjects like TextInput gets the click and focus as it should, but Buttons are not working. And I'm using latest Flex/AIR sdks...
But I'm pretty sure we are in Adobe/Apache hands until they update the AIR with a fix.

Categories

Resources