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.

Unity Multiplayer No "Access-Control-Origin-Header" is present

Discussion in 'Multiplayer' started by CineTek, Jun 23, 2015.

  1. CineTek


    Jul 12, 2013

    I was trying to make a WebGL build with the HLAPI of Unet but got this error in the javascript console when I was trying to create a new match through the NetworkManager GUI:

    "XMLHttpRequest cannot load No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'xxxxx' is therefore not allowed access."

    So does that mean that it is not possible to use the built-in matchmaker functionality in WebGL builds since it requires to setup a specific CORS header at Unitys servers?