Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android apk issue #1318

Open
DbSundhar opened this issue Jan 23, 2025 · 2 comments
Open

Android apk issue #1318

DbSundhar opened this issue Jan 23, 2025 · 2 comments
Labels
type:build/install Cannot build/install the plugin

Comments

@DbSundhar
Copy link

Plugin Version or Commit ID

v0.15.0

Unity Version

2022.3.34

Your Host OS

windows 10 pro

Target Platform

Android

[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

Added plugin to project, then selected image segmentation scene in build window and builded application using unity

Log

ArgumentException: RenderTextureDesc graphicsFormat must be a supported GraphicsFormat. B8G8R8A8_SRGB is not supported on this platform.
Parameter name: desc.graphicsFormat
at UnityEngine.RenderTexture.ValidateRenderTextureDesc (UnityEngine.RenderTextureDescriptor desc) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.RenderTexture.GetTemporary (UnityEngine.RenderTextureDescriptor desc) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.RenderTexture.GetTemporaryImpl (System.Int32 width, System.Int32 height, UnityEngine.Experimental.Rendering.GraphicsFormat depthStencilFormat, UnityEngine.Experimental.Rendering.GraphicsFormat colorFormat, System.Int32 antiAliasing, UnityEngine.RenderTextureMemoryless memorylessMode, UnityEngine.VRTextureUsage vrUsage, System.Boolean useDynamicScale) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.RenderTexture.GetTemporary (System.Int32 width, System.Int32 height, System.Int32 depthBuffer, UnityEngine.Experimental.Ren

Additional Context

No response

@DbSundhar DbSundhar added the type:build/install Cannot build/install the plugin label Jan 23, 2025
@homuler
Copy link
Owner

homuler commented Jan 23, 2025

Could you provide information about the device running the application?

Also, the logs are insufficient, so I’d like you to attach all the logs from at least the start to the end of the scene execution.

@homuler
Copy link
Owner

homuler commented Jan 23, 2025

Additionally, instead of importing the plugin to your existing project, please check whether the same error occurs when building this project (sample app). You can verify this by downloading the MediaPipeUnityPlugin-all.zip from the release page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:build/install Cannot build/install the plugin
Projects
None yet
Development

No branches or pull requests

2 participants