I’m quite disappointed and frustrated with RPM for not replying to this yet.
Because of this error, all of our paying users were locked out of our software - they use our software with their clients - so this issue has significantly affected us.
I’ve spent the past ~18 hours straight working on a workaround to fix this.
The main issue is that something has seemed to happen (most likely from RPM’s side) that has caused it to not allow fetching of avatar resources due to missing or improper CORS headers in the response.
I tried overriding it with a CORS proxy, but that didn’t work.
I then tried moving the RPM package into a different folder, playing around with some functions and values, but that also didn’t work.
Then, I decided to host the RPM resources (avatars) in our own database and fetch them from there.
We use Google Firebase, and the combination of Firebase, Unity, and WebGL doesn’t work so well together, so I was really hoping to not go this route.
I started by uploading some of my avatars to the Firebase Storage. To do that, I downloaded the .glb (avatar) and .json (metadata) files via my browser (just use the avatar’s .glb link and replace .glb with .json), right click the browser window to save the .json file. Then, I uploaded them to my Firebase Storage with their avatarID as their folder name.
In my code, I’ve got it to read the avatarID that the user is trying to load, and check if that avatarID is in the Firebase Storage - if it is, it downloads it from the Firebase Storage (rather than from RPM).
If the avatarID is not there, it calls a Firebase Function that downloads the .glb and .json files and adds them into folders with the avatarID. Then, it downloads them from there into my web app (also avoiding RPM).
The functionality also works when creating new avatars.
I plan to tidy it up later, but sleep is needed now.
Anyway, we are now back online, which is the main thing.
Let me know if you think this method could work for you, and if I can point you in the right direction.
Also: did I mention I was disappointed and frustrated with RPM?
I’m open to other avatar platforms - please let me know if you’ve found something similar.