Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Holding enter on your game's exe launches it hundreds of times?

Discussion in 'Editor & General Support' started by lejean, May 6, 2021.

  1. lejean

    lejean

    Joined:
    Jul 4, 2013
    Posts:
    392
    Just did this by accident by pushing enter in game on the exit game button.

    I was holding it for a couple of seconds, the folder containing the exe got focused again after exiting the game and was launching the exe because I was still holding enter.

    Suddenly my game opens up hundreds of instances.

    This also seems to happen with other games.

    Maybe something to be aware off, gonna turn on "Force single instance" to prevent this
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,846
    Not really a Unity issue so much as a Windows or whatever your OS is problem I guess.
     
  3. This is the reason they put in the settings after all. :)
    In some sense it is. I would like to see the Force Single Instance turned on by default. Games tend to be not to run multiple instances of themselves. And when you're developing MP on a single machine you can turn it off.