Log in or register to post comments

Vuforia is inverting blue colour with red and red with blue in the app

March 12, 2021 - 3:03am #4

Vuforia SDK Version: 9.7 -

Description with steps to reproduce: I created 2 AR apps using Vuforia in Unity but both exhibit a bug where the red and blue colours when viewed through the camera get inverted into blue and red respectively. Any help is appreciated. Original Image: https://ibb.co/QN63F1w AR App Image: https://ibb.co/W0ZNL8X -

Development OS (Mac OS X, Windows, Linux): Windows 10 -

Mobile OS and Version: Android 11 -

Mobile Device Manufacturer and Model name: Redmi Note 9 Pro -

Do the Vuforia Sample Applications show the same behavior?:

Vuforia is inverting blue colour with red and red with blue in the app

March 18, 2021 - 8:18am #3

Hi,

Could you please provide following information?

1. Where this 2 fresh projects? or did you upgrade from x to 9.7?

2. Could you please try our Core Samples app and let us know if this reproducible? Unfortunately I do not have the phone to test it

3. Would it possible to test with another phone? is the issue reproducible?

Thank you.

Vuforia Engine Support

Vuforia is inverting blue colour with red and red with blue in the app

March 23, 2021 - 9:51am #2

Hey Razer! The other topic got locked, but i was one of the folks in the thread where you asked if we fixed it. We have not found a solution yet, but we think we are on the trail to find the issue? We think the android devices that are effected by it are using the wrong texture encoding on Vuforia's end when they select the shader to use for the video background. We don't have resources at the moment to look further into it, but we think our next step is to read into the different image formats that android devices use, and then look at affected devices to see if there is commonality.



https://developer.android.com/reference/android/graphics/ImageFormat



We attempted to set the VideoBackground shader to fallback to their specified Legacy/Diffuse, as in Vuforia's VideoBackground shader, that is the one that is specified, but that simply makes the effected devices purely various shades of red. No other colors. The fact that it made an impact leaves us hopeful, but it seemed that more research was going to be required than we have resources to continue investigating. At least at the moment.



My team and I would be happy to share any details we come across here. And in turn we would love to know what your Redmi reads out if you can debug out the ImageFormat it uses

Vuforia is inverting blue colour with red and red with blue in the app

April 1, 2021 - 6:25am #1

Hi,

we're facing the same bug with Vuforia SDK 9.8.5 on Android.

Details:

  • Development OS: Windows 10
  • Mobile OS and Version: Android 10
  • Mobile Device Manufacturer and Model name: Xiaomi Mi 9T Pro
  • Do the Vuforia Sample Applications show the same behavior? Yes, it is reproducible in the sample app when running on a Xiaomi Mi 9T Pro

Are there any plans to fix this issue? Is someone from the Vuforia team looking into it?

 

Log in or register to post comments