We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

SOLUTION FOUND! HTML page is not finishing loading a single-primitive test

Home Forums General Questions SOLUTION FOUND! HTML page is not finishing loading a single-primitive test

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #43163
    AVerge3Der
    Participant

    :unsure: Published contents of a project from Windows 10 to our server, .gltf in root (and tried media folder), still, the primitive cylinder does now show. And all we get on the load is this (progress stops loading). Ideas? Anyone seen this before? What did you do to fix it?

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #43169
    AVerge3Der
    Participant

    So, I ended up reviewing the errors in Chrome (Ctrl+Shift+I), and realized I should try what I did with Unity’s WebGL’s web.config file (I don’t have access to IIS components on the server). Which is to (web.config attached to this post) FTP up the web.config here to the same directory as the startup HTML page your project loads in the browser to show the content.

    Create a file named, “web.config” in your favorite text editor. Add this code to it and save, then FTP or add next to your project’s main HTML page that loads the project.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
        <system.webServer>
                <staticContent>
                <remove fileExtension=".gltf" />
                  <mimeMap fileExtension=".gltf" mimeType="application/octet-stream" />
                </staticContent>
        </system.webServer>
    </configuration>

    I hope this helps someone getting a 404 error like I was. :bye:

    #43176

    glad you worked it out! :good:

    Chief 3D Verger | LinkedIn | Twitter

    #43186
    AVerge3Der
    Participant

    Thank you. And thanks for moving my post to the proper forum. :good:

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.