Search Unity

Scenes not referenced in build

Discussion in 'Editor & General Support' started by wakiva, Jul 14, 2019.

  1. wakiva

    wakiva

    Joined:
    Jan 28, 2017
    Posts:
    1
    Hello,

    I have created a test for a game in Unity and everything works fine in the editor. However, when I build the project my references to my scenes are missing. I have 2 scenes and it is setup so that I can jump from one scene to the other using a button which, when clicked, calls a function from my program manager object to load the given scene. Here is a screenshot of the inspector for one of those buttons and the code I am using to load the scene:

    upload_2019-7-14_12-14-2.png

    upload_2019-7-14_12-14-39.png

    Let me know if you can help.