Replacing unity logo on preloader...

Good morning all,

I am having difficulty replacing the unity logo on the preloader for our unity file.

I have been through the user documentation and have followed all of the instructions.

Our code is below:

if (DetectUnityWebPlayer()) { document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(''); ----------> further down code ----------> As you can see I have also changed the background colour and removed the right click button successfully. However all I get is a grey box (grey becuase this is how I have coded it). Is there a certain size or format for the logo to be? We have made it a PNG. Thanks everyone.

You can change progress image too:

if (DetectUnityWebPlayer()) { document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(' \n'); document.write(''); ----------> further down code ----------> Of course, make the pictures in the folder where you are located index.html or similar. Cheers

Welcome to the forums for the both of you! :smile:

The cited HTML looks good and the image appears at the URL you cited. Are you sure you’re not viewing a cached/old/stale version of your HTML? Do you have a live demo posted somewhere?

Also are you sure you are on Unity Pro, because with Indie you can not change these things ( I know thats a stupid question, but its no rare thing to forget about the restrictions in the “heat of the fight” )

Im pretty sure you can change those with an indie license as I just did this today.

hii, i have build a web player, now 3 files are generated, unityobject.js , .unity3d , .html now which code shall i place n in which file so to change the preloader ?

in this same folder i have kept MyLogo.png , please reply back