Unity WebGL and IIS Pits

Source: Internet
Author: User
I've never noticed it before.

After Unity publishes the WEBGL project, it opens the index.html that was released, no problem.

But the cloth to IIS, opened with the address of the error

Look, the published things, there is a build folder, below a few extensions are. unityweb files

Think about it again. The MIME setting for IIS

Then set it up (see downloading Assetbundle from the IIS Web site and writing to the local disk for the specified path)

In other words, the. Unityweb type is also added to the MIME setting, which is the binary

It's OK to run again.

Unity WebGL and IIS Pits

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.