Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Console error on Safari

Discussion in 'Project Tiny' started by developer_plus, Apr 17, 2019.

  1. developer_plus

    developer_plus

    Joined:
    Jan 10, 2017
    Posts:
    7
    When I run the html5 file on Safari it gives me that error: (Just on Safari)

    Not allowed to load local resource: file:///favicon.ico

    Maybe I missed something but I don't know how to fix it.
     
  2. reallyhexln

    reallyhexln

    Joined:
    Jun 18, 2018
    Posts:
    69
    It's not a Tiny issue, it's a default browser behavior.
    The browser always trying to find website icon in the root directory where index.html placed.
    This icon must have name favicon.ico.
    So, you can easy resolve such issue placing icon favicon.ico near the index.html file.
    And of course that has meaning for release version only.
     
unityunity