The draco plugin being used in Inworld.Samples.RPM doesn't support webgl build for Unity version 2021 and above. Please upgrade to the newer version of draco. The exact issue I came across can be found here https://github.com/Siccity/GLTFUtility/issues/169
In my case, I was using Unity version 2022.3.9f1. I downloaded and imported the Inworld folder from branch version3 (The inworld docs linked me to this branch and not main). And I got the exact same errors as the ones in the above linked issue.
Note: I did follow the guidelines in docs about newtonsoft json package and it fixed the related errors. But the draco errors remain.
For now i will be downgrading to unity 2020 and hope that works.
I found in Inworld docs "The RPM samples depend on Newtonsoft Json and GLTFUtility, which are currently not compatible with all platforms, such as WebGL."
Had missed that.
The draco plugin being used in Inworld.Samples.RPM doesn't support webgl build for Unity version 2021 and above. Please upgrade to the newer version of draco. The exact issue I came across can be found here https://github.com/Siccity/GLTFUtility/issues/169
In my case, I was using Unity version 2022.3.9f1. I downloaded and imported the Inworld folder from branch version3 (The inworld docs linked me to this branch and not main). And I got the exact same errors as the ones in the above linked issue. Note: I did follow the guidelines in docs about newtonsoft json package and it fixed the related errors. But the draco errors remain.
For now i will be downgrading to unity 2020 and hope that works.