Topic locked

Background texture, black strip on iPhone 6+

October 21, 2014 - 10:25am #1

HI, we received some complains from our users about a black strip on the left side happening on the iPhone 6+.

Honestly we didn't have one and we bought it today. We re-exported the app using Xcode 6.1, SDK 8.1, Unity 4.5.5, Vuforia 3.0.9.

The problems seems to be on the background video texture only as the GUI is positioned fine as well as the 3d Augmentation.

Any idea how to fix this?

Ale.

 

PS: screenshot attached.

 

 

Background texture, black strip on iPhone 6+

March 12, 2015 - 8:10pm #28

UPDATE:

The ImageTargets 3.0.10 and VideoPlayback 3.0.10 samples appear to be working fine on an iPhone 6 Plus (8.1.3) using Unity 4.6.2f1 with the following settings:

Scripting Backend: Mono (2.x) or IL2CPP
Architecture: ARMv7
Graphics Level: OpenGL ES 2.0

Trying those same settings with Unity 4.6.3f1 on an iPhone 6 Plus resulted in a black screen with camera shifted to the bottom-left corner of the screen.

 

* Related Thread: https://developer.vuforia.com/forum/ios/no-camera-image-unity-ipad-air-2

 

Background texture, black strip on iPhone 6+

November 28, 2014 - 1:13am #27

The thread:

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/flikering-camera-front-and-backgroundtextureaccess

mentions this code:

void OnPreRender() {
  // make sure the correct backface culling is set for this camera
  GL.SetRevertBackfacing(false);
}

You need to create a basic C# script, i.e. a class (e.g. call it "MyClass") extending MonoBehaviour (as usual), and then add those lines in it;   then attach the script to the Bakground Camera. 

As simple as that.

 

Background texture, black strip on iPhone 6+

November 25, 2014 - 11:49am #26

i was not also able to find the script inside the unity package.

Can someone put it online please?

thanks

Background texture, black strip on iPhone 6+

November 14, 2014 - 6:07am #25

This is a known issue in the Background Texture Access sample; the solution is in this thread:

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/flikering-camera-front-and-backgroundtextureaccess

 

Background texture, black strip on iPhone 6+

November 14, 2014 - 1:29am #24

hi,

I found another bug:

while running on ipad2 and iphone6 plus(other devices not tested),if the "Camera Direction" in QCARBehaviour is set to CAMERA_FRONT, the screen will be blinking sometimes.

how to solve it ?

thanks.

Background texture, black strip on iPhone 6+

November 3, 2014 - 6:10am #23

There are no dates available at this time. But it''s in progress.

Background texture, black strip on iPhone 6+

November 3, 2014 - 3:24am #22

AlessandroB wrote:

Please note that this issue should be resolved in the next release of Vuforia.

when will that be, roughly?

Background texture, black strip on iPhone 6+

November 2, 2014 - 12:09pm #21

Please note that this issue should be resolved in the next release of Vuforia.

 

Background texture, black strip on iPhone 6+

November 2, 2014 - 9:27am #20

I've tried

but I was not able to find it Some of this package.

Please to give me the script, if possible

Background texture, black strip on iPhone 6+

November 2, 2014 - 6:39am #19

that is on main site under Resources / Samples / in the Advanced Topics-section under Background Texture. There you can download the Unity-Package.
https://developer.vuforia.com/resources/sample-apps/background-texture-access-sample-app

Background texture, black strip on iPhone 6+

November 2, 2014 - 5:46am #18

hi I also I want to try this method, but the location of the the BackgroundTextureAccess sample does not know. Please tell me URL

thanks

Background texture, black strip on iPhone 6+

November 2, 2014 - 5:46am #17

hi I also I want to try this method, but the location of the the BackgroundTextureAccess sample does not know. Please tell me URL

thanks

Background texture, black strip on iPhone 6+

November 1, 2014 - 12:00pm #16

Yes, thanks for the step by step instruction, it really helped a lot!

I just assigned the EmulatorVideoBackground-material to the plane object, similar to the plane in BackgroundCamera (Clone)-object, that is created on runtime. 

But in our project we experience a noticeable framerate drop (compared to the version without the workaround). Is there a way to optimze that? Is it maybe because there are two BackgroundCamera-objects in the scene now?  

Background texture, black strip on iPhone 6+

November 1, 2014 - 1:55am #15

This works really well! Thanks!

Ale.

Background texture, black strip on iPhone 6+

October 30, 2014 - 9:19pm #14

Below are some quick steps to setup the background video to render to a 2D texture. But first, copy the VideoTextureBehaviour.cs from the BackgroundTextureAccess sample app to a temporary location. We'll be needing it shortly.

1. Create a new empty Unity project
2. Import the Vuforia SDK package
3. Rename Main Camera to BackgroundCamera
4. Change BackgroundCamera "Projection" setting to Orthographic
5. Set BackgroundCamera position to {0,20,0}
6. Set BackgroundCamera rotation to {90,0,0}
7. Create a Plane at position {0,0,0}
8. Parent the Plane under the BackgroundCamera
9. Create a Directional Light
10. Add an ARCamera to the scene
11. Change ARCamera "Clear Flags" setting to Depth Only
12. Copy the VideoTextureBehaviour.cs into the Assets folder of this project
13. Add the VideoTextureBehaviour script to the Plane object
14. Set the VideoTextureBehaviour script's "Camera" to BackgroundCamera
15. Add the following methods to the VideoTextureBehaviour script:
 

void Start()
{
     InitBehaviour();
}

void Update()
{
     UpdateBehaviour();
}

Ok, that should be it. Start PlayMode and click on the BackgroundCamera object in the Hierarchy and zoom in to the Plane to see the background video projected onto it. The Background video will appear centered in a 2x2 section of the 10x10 plane.
 

Background texture, black strip on iPhone 6+

October 30, 2014 - 9:04am #13

I can't make much sense of the workaround description. I imported the backgroundtextureaccess-3-0-10.unitypackage, but do not understand much of it (which parts to use and which to delete). 

Is there a time frame in sight when the next relaese is going to be out? I'm asking cause I have to deliver an app to a customer and he's jumping my thraot, meanwhile.

Background texture, black strip on iPhone 6+

October 29, 2014 - 2:49pm #12

moisestafolla wrote:

Hi,

Right now the workaround for this is to use the Background Texture Access. In our next release this issue will be fixed.

 

Hi, I tried this way but now instead of a black line I got a white one. Is there any specific change to do in order to make it work?

 

Cheers,

Ale.

Background texture, black strip on iPhone 6+

October 29, 2014 - 1:19pm #11

Hi,

Right now the workaround for this is to use the Background Texture Access. In our next release this issue will be fixed.

Background texture, black strip on iPhone 6+

October 28, 2014 - 8:42am #10

I get this too on my iPhone6+ and am running 4.5.5

looks like it is similar to the ole new iPhone screen size like what happened when the 4s etc came out

 

Background texture, black strip on iPhone 6+

October 24, 2014 - 8:02am #9

Thanks. We've been able to reproduce the issue and we're investigating..

Background texture, black strip on iPhone 6+

October 23, 2014 - 3:32am #8

Anytime. Unity 4.5.5p1

Background texture, black strip on iPhone 6+

October 23, 2014 - 3:21am #7

Thanks Johann for the extra screenshots.

Are you guys all working on Unity 4.5.5, or do you see the same on 4.5.3 / 4.5.4 ?

 

Background texture, black strip on iPhone 6+

October 23, 2014 - 1:45am #6

We made another two screenshots with iPhone6plus and iPhone5 with a square drawn on the ImageTarget (10x10cm). Maybe you can see anything in this. We suppose that it has to do with the "2208x1242"-problem. Let us know If we can help by testing some other code on our iPhone6plus here at buenck.fehse.com

AttachmentSize
Image icon iPhone6plus.jpg410.91 KB
Image icon iPhone5.jpg200.82 KB

Background texture, black strip on iPhone 6+

October 22, 2014 - 8:07am #5

yes, same with the ImageTarget Sample

AttachmentSize
Image icon IMG_1121.jpg374.35 KB

Background texture, black strip on iPhone 6+

October 22, 2014 - 6:29am #4

UPDATE: 

could any of you confirm if this is reproducible with the Vuforia Samples ?

Background texture, black strip on iPhone 6+

October 22, 2014 - 6:24am #3

Thanks all for the reports and the useful screenshots.

Will keep you posted.

 

 

Background texture, black strip on iPhone 6+

October 22, 2014 - 5:30am #2

We can confirm this, similar issue here. Black strip on the left side on iPhone 6+.

But we also have an offsetted position (see attachment). On all other devices the building sits right on the site plan.

AttachmentSize
Image icon bug_iPhone6plus.jpg493.24 KB
Topic locked