Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

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