Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Enablign CORs on Unity multiplay servers.

Discussion in 'Multiplayer' started by Brunosly, May 23, 2023.

  1. Brunosly

    Brunosly

    Joined:
    Nov 8, 2012
    Posts:
    6
    Hello!

    I have a WEBGL project where I use Unity Multiplay API'S to allocate servers. The problem is that my API response is getting blocked by CORs.
    I disabled CORs on my browser and it worked fine, how can I setup custom headers on the Unity multiplay servers?
     
  2. Brunosly

    Brunosly

    Joined:
    Nov 8, 2012
    Posts:
    6