Skip to content

Webcam works in Editor but not in Build (FaceLandmarker / CPU mode) - SOLVED - MAKE A BUILD FOLDER IN ENGLISH #1413

@savich18423

Description

@savich18423

Plugin Version or Commit ID

v0.16.2

Unity Version

2022.3.43f1

Your Host OS

Windows 11 pro

Target Platform

Windows Standalone

[Windows Only] Visual Studio C++ and Windows SDK Version

No response

[Linux Only] GCC/G++ and GLIBC Version

No response

[Android Only] Android Build Tools and NDK Version

No response

[iOS Only] XCode Version

No response

Command Sequences

Hello! 👋

In my project, everything works perfectly inside the Unity Editor — the face landmark detection and the webcam feed are displayed correctly.

But when I build the game (Windows standalone), the webcam does not appear at all.
The UI loads fine, but the RawImage (where the camera feed should be) stays black.

There are no errors or crashes, just no webcam image.

Log

Steps to Reproduce

Open the FaceLandmarker sample or my own blink detection scene.

Run in Editor → webcam works ✅

Build the game → run .exe → webcam not visible ❌

Additional Context

What I Tried

Tested both CPU and GPU delegates — same issue.

Added Application.RequestUserAuthorization(UserAuthorization.WebCam) before Play().

Tried different resolutions and frame rates.

Added debug logs — camera reports “ready”, but no frames appear.

Works fine in Editor, only broken in Build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions