Pictures disappeared after building project


Author: Aaronn Solomon

1/29/2024


The Problem

For the past month and a half, I was racking my brain trying to figure out why pictures on my main menu were missing whenever the project was built. They appeared in the Unity editor, but they always turned into blank, white squares after building. I couldn't find any differences between the pictures, either, so I was at a loss.


The Solution

The answer to my problem was, frankly, embarrassing. I simply forgot to add the pictures to our team directory. As it turns out, I updated everything in the folder that the pictures were in, but that's different than adding a new asset entirely. I merely thought that I had pushed them with the rest of the folder and didn't actually add them to the directory. It was definitely a lesson learned.