readyplayerme / rpm-unity-sdk-webview

WebView helps you display an in-engine browser that helps you load RPM website where you can create avatars and receive avatar URL at the end of the process.
zlib License
13 stars 7 forks source link

WebView Crashes #9

Closed Lorenzogasparini1975 closed 1 year ago

Lorenzogasparini1975 commented 1 year ago

Hi, when I run the WebView in my Android device and try to upload a photo from the file system the app crashes immediately without any errors. I found this problem also in the preview versions of RPM but I wasn't able to solve it. Usually the app crashes right after I choose the image. Do you know what the problem is and how to solve it?

This is the screenshot: Screenshot_20230321-154241_ReadyPlayerMe20

Thanks, Lorenzo

srcnalt commented 1 year ago

Hi Lorenzo,

Could you import Android LogCat package through Unity Package Manager, run the project while your phone is connected via cable, filter Unity processes only and share the error messages you get when the app crashes?

Lorenzogasparini1975 commented 1 year ago

thank you for your answer. Everytime the app crashes Android LogCat show me these errors:

errors errors2 errors3

I hope this can help...

Lorenzogasparini1975 commented 1 year ago

I also found this errors, appearing when I open the file system (after clicking on choose a file) errors4 errors5 error7 error6

DanDevChen commented 1 year ago

Hi, I have the same problem. Any solution?

Lorenzogasparini1975 commented 1 year ago

Hi, Not yet

Hi, I have the same problem. Any solution?

DanDevChen commented 1 year ago

Sorry for the rush, but I would need use a solution because I have to submit the project in a few days, can you help me please?

Lorenzogasparini1975 commented 1 year ago

Hi Lorenzo,

Could you import Android LogCat package through Unity Package Manager, run the project while your phone is connected via cable, filter Unity processes only and share the error messages you get when the app crashes?

Hi, did I upload the information correctly?

srcnalt commented 1 year ago

@Lorenzogasparini1975 could you test this building in another version of Unity, I can't replicate this but found a similar issue being reported some while ago which happened in the same version of unity.

Lorenzogasparini1975 commented 1 year ago

Thank you, it seems to be working, I will do further testing, but so far I have not encountered any more crashes.