Search Unity

Share Web Gl Game's upload doesn't load for me.

Discussion in 'Getting Started' started by Sevitom, May 19, 2020.

  1. Sevitom

    Sevitom

    Joined:
    May 19, 2020
    Posts:
    1
    Hi -

    I am a beginner who just reached a stopping point on my first unity project and want to share it with friends. I am able to build a webgl project, and upload it to connect.unity with the Share WebGl Game tool, but whenever I load the page this error pops up in the browser's log

    Refused to execute script from 'https://connect-prd-cdn.unity.com/2...f-48cd-a98c-eb70d3066ae7/Build/UnityLoader.js' because its MIME type ('application/octet-stream') is not executable, and strict MIME type checking is enabled.

    This occurs with template scenes I've tested as while, where I just import a free template scene into a brand new project and upload using the tool. Here is an example URL

    https://connect.unity.com/mg/other/test-0fyt

    Am I missing a step in the build process to get these tool to work?
    Thanks for the help.
     
    Yerbol05 likes this.
  2. Delcasda

    Delcasda

    Joined:
    Mar 3, 2013
    Posts:
    27
    Hi, I am getting the same error when I uncheck the development build exporting as WebGL. Did you get a solution?
     
  3. Delcasda

    Delcasda

    Joined:
    Mar 3, 2013
    Posts:
    27