TesseraktZero / UnityHandTrackingWithMediapipe

Realtime hand tracking and finger tracking in Unity using Mediapipe
Apache License 2.0
286 stars 66 forks source link

Android app shuts down #10

Open amami1 opened 3 years ago

amami1 commented 3 years ago

Nice to meet you, thank you for the wonderful app However The android app shuts down 20 seconds after it starts Is there a workaround? Do you have a recommended device?

amami1 commented 3 years ago

I was getting an error Google.Protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field. This could mean either that the input has been truncated or that an embedded message misreported its own length. at Google.Protobuf.CodedInputStream.ReadRawVarint32 (System.IO.Stream input) [0x00016] in <64d8563b06184783ae94018b5db4c201>:0 at Google.Protobuf.MessageExtensions.MergeDelimitedFrom (Google.Protobuf.IMessage message, System.IO.Stream input, System.Boolean discardUnknownFields, Google.Protobuf.ExtensionRegistry registry) [0x00018] in <64d8563b06184783ae94018b5db4c201>:0

at Google.Protobuf.MessageParser`1[T].ParseDelimitedFrom (System.IO.Stream input) [0x0001e] in <64d8563b06184783ae94018b5db4c201>:0 at LandmarkInterface.Socket.LandmarkSocket.fetchResults (System.Net.Sockets.TcpClient client) [0x0009e] in C:\Users\Downloads\UnityHandTrackingWithMediapipe-master\UnityHandTrackingWithMediapipe-master\Assets\Scipts\LandmarkInterface\Socket\LandmarkSocket.cs:174 at LandmarkInterface.Socket.LandmarkSocket.run () [0x0001e] in

C:\Users\Downloads\UnityHandTrackingWithMediapipe-master\UnityHandTrackingWithMediapipe-master\Assets\Scipts\LandmarkInterface\Socket\LandmarkSocket.cs:63 UnityEngine.Debug:LogError(Object) LandmarkInterface.Socket.LandmarkSocket:run() (at Assets/Scipts/LandmarkInterface/Socket/LandmarkSocket.cs:70) LandmarkInterface.Socket.LandmarkSocket:b__12_0() (at Assets/Scipts/LandmarkInterface/Socket/LandmarkSocket.cs:43) System.Threading.ThreadHelper:ThreadStart()

silviawxy commented 2 years ago

i meet the same shuts,did you solve the problem?