-
-
Notifications
You must be signed in to change notification settings - Fork 564
Description
Plugin Version or Commit ID
v0.15.0
Unity Version
2022.3.6f1
Your Host OS
Windows11 Home
Target Platform
Windows Standalone
[Windows Only] Visual Studio C++ and Windows SDK Version
Visual C++ 2022 00482-90000-00000-AA457
Windows SDK Version 10.0
[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
Unity projects or built .exe files with file paths containing non-English characters will result in camera images not displaying and errors occurring.
Here are the steps to reproduce the issue:
- Launch Unity Hub.
- Create a new project with an English name such as "BuildJapanese" via "New project."
- Once the Unity Editor launches, import the v0.15.0 .unitypackage via drag and drop.
- Open the Unity file located in Assets\MediaPipeUnity\Samples\Scenes\Face Landmark Detection.
- Click on Assets\MediaPipeUnity\Samples\Scenes\AppSettings and change the Asset Loader Type from "Local" to "Streaming Asset."
- Copy face_landmarker_v2_with_blendshapes.bytes into the Assets\StreamingAssets folder.
- Start the game and confirm the camera is working correctly.
- Copy the created BuildJapanese Unity Project folder and paste it into a path containing Japanese, Korean, or other non-English characters. (Example: C:/Users/emoto/Documents/Test/てすと/BuildJapanese2)
- Add the project path to Unity Hub via Add → Add project from disk.
- Start the game in the Unity Project opened from the file path containing non-English characters. The camera image will not display, and an error will occur.
Log
BadStatusException: NOT_FOUND: Unable to open file at C:/Users/emoto/Docouments/Test/てすと/BuildJapanese2/Assets/StreamingAssets\face_landmarker_v2_with_blendshapes.bytes [MediaPipeTasksStatus='601']
Mediapipe.Status.AssertOk () (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Framework/Port/Status.cs:168)
Mediapipe.MpResourceHandle.AssertStatusOk (System.IntPtr statusPtr) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Core/MpResourceHandle.cs:115)
Mediapipe.Tasks.Core.TaskRunner.Create (Mediapipe.CalculatorGraphConfig config, System.Int32 callbackId, Mediapipe.Tasks.Core.TaskRunner+NativePacketsCallback packetsCallback) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Core/TaskRunner.cs:32)
Mediapipe.Tasks.Vision.Core.BaseVisionTaskApi..ctor (Mediapipe.CalculatorGraphConfig graphConfig, Mediapipe.Tasks.Vision.Core.RunningMode runningMode, Mediapipe.GpuResources gpuResources, Mediapipe.Tasks.Core.TaskRunner+PacketsCallback packetsCallback) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Vision/Core/BaseVisionTaskApi.cs:63)
Mediapipe.Tasks.Vision.FaceLandmarker.FaceLandmarker..ctor (Mediapipe.CalculatorGraphConfig graphConfig, Mediapipe.Tasks.Vision.Core.RunningMode runningMode, Mediapipe.GpuResources gpuResources, System.Collections.Generic.List`1[T] faceGeometriesForRead, Mediapipe.Tasks.Core.TaskRunner+PacketsCallback packetCallback) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Vision/FaceLandmarker/FaceLandmarker.cs:44)
Mediapipe.Tasks.Vision.FaceLandmarker.FaceLandmarker.CreateFromOptions (Mediapipe.Tasks.Vision.FaceLandmarker.FaceLandmarkerOptions options, Mediapipe.GpuResources gpuResources) (at ./Packages/com.github.homuler.mediapipe/Runtime/Scripts/Tasks/Vision/FaceLandmarker/FaceLandmarker.cs:106)
Mediapipe.Unity.Sample.FaceLandmarkDetection.FaceLandmarkerRunner+d__4.MoveNext () (at C:/Users/emoto/Docouments/Test/てすと/BuildJapanese2/Assets/MediaPipeUnity/Samples/Scenes/Face Landmark Detection/FaceLandmarkerRunner.cs:43)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
Additional Context
No response