How to reproduce:
1. Open the project “IN-89979_EmptyHash”
2. File → Build Settings
3. Click the “Build and Run” button
4. Observe the webpage localhost server open the WebGL build
Expected result: Image Background is visible when the Unity logo first shows up
Actual result: Background is white at the start, when the Unity logo first shows up
Reproducible with: 2021.3.48f1, 2022.3.57f1, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- The Edit → Project Settings → Player → Splash Image → Background Image name is not being hashed
- The issue is only present when the Edit → Project Settings → Player → Publishing Settings → Name Files As Hashes is enabled
- The code still expects the name to be hashed and breaks the first part of the background in the loading screen of the WebGL build. I attached video examples of working and not working. The code in question can be found in the index.html file after a build is created:
- The second loading screen does contain the image