Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Game works in editor but not in build

Discussion in 'Editor & General Support' started by AnsonMustang, Nov 28, 2019.

  1. AnsonMustang

    AnsonMustang

    Joined:
    Apr 20, 2015
    Posts:
    2
    Hello people, my game works perfectly in the unity editor with no errors. But when I build it and run it, the game does nothing, when I click the button.
    There is not even a output.txt in my build folder.
    Any idea how to fix this issue?
    Thank you guys.
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    The log files are no longer located inside the build folder

    https://docs.unity3d.com/2018.3/Documentation/Manual/LogFiles.html
    Check if you got any errors there.
    The editor is often more forgiving then then build player applications.