Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

No objects appear in the scene on build

Discussion in 'Scripting' started by ranjansikand, Aug 27, 2021.

  1. ranjansikand

    ranjansikand

    Joined:
    Apr 8, 2021
    Posts:
    103
    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.
     
  2. bboydaisuke

    bboydaisuke

    Joined:
    Jun 14, 2014
    Posts:
    67
  3. ranjansikand

    ranjansikand

    Joined:
    Apr 8, 2021
    Posts:
    103

    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.
     
  4. bboydaisuke

    bboydaisuke

    Joined:
    Jun 14, 2014
    Posts:
    67
    I have no idea what those errors are. Looks like some shaders cause troubles.