Search Unity

First game ever works inside the Unity Editor, but not through the built Version

Discussion in 'Editor & General Support' started by jpatrick9, Jan 5, 2019.

  1. jpatrick9

    jpatrick9

    Joined:
    Sep 6, 2018
    Posts:
    2
    Hey everyone,

    I made my first game today with a tutorial, but I encountered a problem when playing the build version:
    (images can be found here: https://imgur.com/a/HQDw1Ld )

    <blockquote class="imgur-embed-pub" lang="en" data-id="a/HQDw1Ld"><a href="//imgur.com/HQDw1Ld"></a></blockquote><script async src="//s.imgur.com/min/embed.js" charset="utf-8"></script>

    In the first picture (the build version), the targets do not appear, and the score is not displayed, as opposed to the second picture (the editor version). I even set the Canvas for the score text to Scale with Screen Size and to Match Width or Height with a match value of 0.5. I don't think the issue lies with my code or scene configurations, but does anyone know how I could fix this? I'd really appreciate the help, and it'd save me a bunch of trouble down the road. I've attached my code too, for droppings and chortles.
     

    Attached Files: