No objects appear in the scene on build

Hi,

Not sure which subtopic this fits under, but I recently finished up a game I was working on. I played through it and everything works fine, the way it was intended:

However, nothing appears in the play scene when I build the game. I get occasional UI elements, and I can hear sounds, so I know the game is actually working – I even die if I wait too long to dodge. But, I can’t see anything and none of the objects are visible.

You can check out the WebGL build at the link to see what I’m talking about: https://ranjansikand.itch.io/so-many-balls

I’ve made a couple games now and I’ve never encountered this issue before, so I would appreciate any help.

Many errors appear in my browser’s developer console when start game.


If the problem occurs on Windows build as well, you may want to look into Unity player logs.
ref. Unity - Manual: Log Files

Thanks for the response! I didn’t know that was a thing.

Do you have any idea what those errors mean? I’ve never heard of them before. Ive never really used WebGL before, but I’ll try doing a windows build and seeing if there’s an issue.

I have no idea what those errors are. Looks like some shaders cause troubles.