Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WebGL Error

Status
Not open for further replies.

MitGandhi

MIS
Aug 23, 2022
2
DE
I have an issue in running the .html file (generated in unity by webGL), the browser popups with an error,

"Failed to download file Build/build.data. Loading web pages via a file:// URL without a web server is not supported by this browser. Please use a local development web server to host Unity content, or use the Unity Build and Run option."

Please just provide some guidance on the Issue.
 
 https://files.engineering.com/getfile.aspx?folder=c22852d9-9451-45a3-bdde-fb179fa76af7&file=2022-08-25_(1).png
How to use a local development server to host Unity content without the use of the unity build and run option?
 
Either disable the security settings of your browser that limit local filesystem addresses (file://...) or put this on a local HTTP server.

Every OS has ready (or quickly installed) web services to serve HTTP content.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top