Hi ! I'm trying to edit the base WebGL template to customise the loading screen visual at the beginning when we open the page webpage Changing this one : I'm trying to replace the logo, the loading bar, add texts.. For that, i have a file UnityProgress.js wich handle all of this And i plugged it into the index.html But i don't understand why, the result i get is this : So here is my code Index is mainly the same as the default one Code (JavaScript): <!DOCTYPE html> <html lang="en-us"> <script type="text/javascript" src="TemplateData/xmlhttprequest-length-computable.min.js"></script> <head> <meta charset="utf-8"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Unity WebGL Player | {{{ PRODUCT_NAME }}}</title> <link rel="shortcut icon" href="TemplateData/favicon.ico"> <link rel="stylesheet" href="TemplateData/style.css"> <script src="TemplateData/UnityProgress.js"></script> </head> <body> <div id="unity-container" class="unity-desktop"> <canvas id="unity-canvas" width={{{ WIDTH }}} height={{{ HEIGHT }}}></canvas> <div id="unity-loading-bar"> <div id="unity-logo"></div> <div id="unity-progress-bar-empty"> <div id="unity-progress-bar-full"></div> </div> </div> <div id="unity-mobile-warning"> WebGL builds are not supported on mobile devices. </div> <div id="unity-footer"> <div id="unity-webgl-logo"></div> <div id="unity-fullscreen-button"></div> <div id="unity-build-title">{{{ PRODUCT_NAME }}}</div> </div> </div> <script> var buildUrl = "Build"; var loaderUrl = buildUrl + "/{{{ LOADER_FILENAME }}}"; var config = { dataUrl: buildUrl + "/{{{ DATA_FILENAME }}}", frameworkUrl: buildUrl + "/{{{ FRAMEWORK_FILENAME }}}", codeUrl: buildUrl + "/{{{ CODE_FILENAME }}}", #if MEMORY_FILENAME memoryUrl: buildUrl + "/{{{ MEMORY_FILENAME }}}", #endif #if SYMBOLS_FILENAME symbolsUrl: buildUrl + "/{{{ SYMBOLS_FILENAME }}}", #endif streamingAssetsUrl: "StreamingAssets", companyName: "{{{ COMPANY_NAME }}}", productName: "{{{ PRODUCT_NAME }}}", productVersion: "{{{ PRODUCT_VERSION }}}", }; var container = document.querySelector("#unity-container"); var canvas = document.querySelector("#unity-canvas"); var loadingBar = document.querySelector("#unity-loading-bar"); var progressBarFull = document.querySelector("#unity-progress-bar-full"); var fullscreenButton = document.querySelector("#unity-fullscreen-button"); var mobileWarning = document.querySelector("#unity-mobile-warning"); // By default Unity keeps WebGL canvas render target size matched with // the DOM size of the canvas element (scaled by window.devicePixelRatio) // Set this to false if you want to decouple this synchronization from // happening inside the engine, and you would instead like to size up // the canvas DOM size and WebGL render target sizes yourself. // config.matchWebGLToCanvasSize = false; if (/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)) { container.className = "unity-mobile"; // Avoid draining fillrate performance on mobile devices, // and default/override low DPI mode on mobile browsers. config.devicePixelRatio = 1; mobileWarning.style.display = "block"; setTimeout(() => { mobileWarning.style.display = "none"; }, 5000); } else { canvas.style.width = "{{{ WIDTH }}}px"; canvas.style.height = "{{{ HEIGHT }}}px"; } #if BACKGROUND_FILENAME canvas.style.background = "url('" + buildUrl + "/{{{ BACKGROUND_FILENAME.replace(/'/g, '%27') }}}') center / cover"; #endif loadingBar.style.display = "block"; var script = document.createElement("script"); script.src = loaderUrl; script.onload = () => { createUnityInstance(canvas, config, (progress) => { UnityProgress(canvas,progress); progressBarFull.style.width = 100 * progress + "%"; }).then((unityInstance) => { loadingBar.style.display = "none"; fullscreenButton.onclick = () => { unityInstance.SetFullscreen(1); }; }).catch((message) => { alert(message); }); }; document.body.appendChild(script); </script> </body> </html> And here is my UnityProgress.js code : Code (JavaScript): function UnityProgress(unityInstance, progress) { if (!unityInstance.progress) { unityInstance.progress = document.createElement("div"); unityInstance.progress.style.backgroundColor = "white"; unityInstance.progress.loadingbar = document.createElement("div"); unityInstance.progress.loadingbar.id = "unity-loading-bar"; unityInstance.progress.appendChild(unityInstance.progress.loadingbar); unityInstance.progress.loadingbar.logo = document.createElement("img"); unityInstance.progress.loadingbar.logo.id = "unity-logo"; unityInstance.progress.loadingbar.logo.src = "TemplateData/logo.png"; unityInstance.progress.loadingbar.appendChild(unityInstance.progress.loadingbar.logo); unityInstance.progress.loadingbar.txtA = document.createElement("h2"); unityInstance.progress.loadingbar.txtA.textContent = "Bienvenue dans l'application virtuelle"; unityInstance.progress.loadingbar.appendChild(unityInstance.progress.loadingbar.txtA); unityInstance.progress.loadingbar.txtB = document.createElement("h3"); unityInstance.progress.loadingbar.txtB.textContent = "Chargement en cours"; unityInstance.progress.loadingbar.appendChild(unityInstance.progress.loadingbar.txtB); unityInstance.progress.loadingbar.empty = document.createElement("div"); unityInstance.progress.loadingbar.empty.id = "unity-progress-bar-empty"; unityInstance.progress.loadingbar.appendChild(unityInstance.progress.loadingbar.empty); unityInstance.progress.loadingbar.full = document.createElement("div"); unityInstance.progress.loadingbar.full.id = "unity-progress-bar-full"; unityInstance.progress.loadingbar.empty.appendChild(unityInstance.progress.loadingbar.full); unityInstance.progress.loadingbar.txtC = document.createElement("p"); unityInstance.progress.loadingbar.txtC.id = "nb"; unityInstance.progress.loadingbar.txtC.textContent = "NB : Selon votre vitesse de connexion, le chargement peut prendre quelques minutes"; unityInstance.progress.loadingbar.appendChild(unityInstance.progress.loadingbar.txtC); unityInstance.appendChild(unityInstance.progress); } unityInstance.progress.loadingbar.full.style.width = (100 * progress) + "%"; if(progress == 1){ unityInstance.progress.style.display = "none"; } } I dont understand where all my content gone ?