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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Guys,what happend with my webgl project.Here is a bug or something i never meet

Discussion in 'Web' started by HXD3D0029, Sep 11, 2023.

  1. HXD3D0029

    HXD3D0029

    Joined:
    Sep 11, 2023
    Posts:
    3
    I posted a WebGL project,but there is nothing when it loaded.
    no image, no video,no fonts.
    but the function of the button is still working,i can change scence use button,other scripts also worked.
    but all i can see in every scences like this picture, no image, no video,no fonts.
    Has anyone encountered this situation?And how to solve this problem?
    Thanks for you reply.
    企业微信截图_20230911135847.png 企业微信截图_20230911135847.png
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,057
    check browser console for possible error messages (its usually F12 key in browsers)
     
    CodeSmile likes this.
  3. HXD3D0029

    HXD3D0029

    Joined:
    Sep 11, 2023
    Posts:
    3
    Unknown error occurred while loading 'sharedassets0.assets'.
    How to solve this?
     
  4. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    9,057
    havent seen that before.. are all the files there?
    are you running from build n run, or from your own server?
    any other warnings or errors in console?
     
  5. HXD3D0029

    HXD3D0029

    Joined:
    Sep 11, 2023
    Posts:
    3
    yes,all the files there
    I run it from my pc
    no more warning or errors, lots of this massages in console.
     
  6. jukka_j

    jukka_j

    Unity Technologies

    Joined:
    May 4, 2018
    Posts:
    951
    Is this on a live uploaded web server? Try reloading the page while holding the shift key down when pressing F5, or clicking the reload button.

    "Unknown error occurred while loading 'sharedassets0.assets'." gives me an impression that the web server might be serving an old file from cache when you've uploaded a new build to the web server, running into a mismatch.

    If the error occurs on local build & run, then it should not be a web server caching issue, but something else.
     
  7. zorba12

    zorba12

    Joined:
    Jan 22, 2020
    Posts:
    2
    Also with me! I don't understand what is the cause.
    Anyone as a clue?
     
  8. zorba12

    zorba12

    Joined:
    Jan 22, 2020
    Posts:
    2
    same here.
    Any clue?