Search Issue Tracker

Won't Fix

Votes

2

Found in

2018.2.0b5

Issue ID

1041300

Regression

No

Vuforia configuration's camera device drop-down becomes null when the webcam profile is not found

XR SDK

-

Vuforia configuration's camera device drop-down becomes null when the webcam profile is not found and dropdown UI shrinks on expanding it

Steps to Repro:
1. Open an attached project or create a new project
2. Edit > Project settings
3. Player > XR settings
4. Enable Vuforia augmented reality support
5. Project window > asset > resources
6. Open Vuforia configuration
7. Under webcam > camera device
8. Open the drop-down option

Actual Result:
1. Observe that when the webcam profile is not found, the field has turned to null
2. On the opening drop down its options, UI is shrunken

Expected Result:
1. If the webcam is not detected the field should say "Web Cam Profile Not Found" or show some default message

Note:
1. This requires a webcam to be attached to the system
2. Make sure XR support is installed
3. Tested using Microsoft LifeCam VX-2000
4. Also, on adding profile manually to webcam profiles.XML didn't resolve it
5. On Mac, the webcam is displaying under the filed though it was not part of webcam profiles.XML

Occurring with:
2018.3.0a1, 2018.2.0b5, 2018.1.2f1, 2017.4.4f1, 2017.2.3f1

Environment:
Only on windows

  1. Resolution Note (2018.2.X):

    XR Management has evaluated this issue and determined that it does not meet our current bug severity threshold. If you would like your issue to be reviewed again, please re-submit your bug.

Comments (1)

  1. staconst

    Oct 11, 2018 15:47

    Adding the following into profiles.xml file seems to resolve the issue

    <webcam deviceName="User Facing Right">
    <windows>
    <!-- size of the web cam texture requested from Unity -->
    <requestedTextureWidth>640</requestedTextureWidth>
    <requestedTextureHeight>480</requestedTextureHeight>
    <!-- size of the texture Unity's web cam texture will be rescaled to -->
    <resampledTextureWidth>640</resampledTextureWidth>
    </windows>
    <osx>
    <!-- size of the web cam texture requested from Unity -->
    <requestedTextureWidth>640</requestedTextureWidth>
    <requestedTextureHeight>480</requestedTextureHeight>
    <!-- size of the texture Unity's web cam texture will be rescaled to -->
    <resampledTextureWidth>640</resampledTextureWidth>
    </osx>
    </webcam>

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.