Has been blocked by CORS policy

Hello, I’m getting this error when building/running my webgl game.

The code I’m using is:

8413971--1112352--upload_2022-9-4_5-41-7.png

Any ideas? Thanks

KeyAuth doesn’t seem to support client Javascript. You should ask KeyAuth once.

I’m co-owner for it… just needed to get origin header. Now I can make requests easily.

I’m not familiar with KeyAuth, but as far as I understand, CORS will prevent any call to a service hosted in any domain other than the one where the app is running.

What about setting up a middle web service in the same domain you are hosting your app so you can call it from Unity and handle from there the request to KeyAuth in the server side?