Search Unity

Problem when testing game in 'Maximize on Play' mode!

Discussion in 'Editor & General Support' started by Aviratex, Sep 4, 2015.

  1. Aviratex

    Aviratex

    Joined:
    Sep 4, 2015
    Posts:
    4
    Hey all,

    Sorry if this might be a stupid question or it has an obvious solution but I'm new to Unity so bear with me. I'm working on a simple game, its sort of a cube based 3D level based game. The problem is that when I try to test the game, there is sort of a lag/pause in my enemy cube script which doesn't occur when I test the game in normal game view.

    To be specific, I have my enemy cube move along a set path - from one patrol point to another and the cube seems to pause for a few seconds every time it reaches a patrol point and then continues. I can still control the player cube and all other things seem to be working fine except the enemy cube.

    Please help me out. Thanks in advance!

    DracoRex.
     
  2. Aviratex

    Aviratex

    Joined:
    Sep 4, 2015
    Posts:
    4
    no fix to the problem??
     
  3. Aviratex

    Aviratex

    Joined:
    Sep 4, 2015
    Posts:
    4
    Never mind. I opened Unity and noticed the problem not only in Full screen mode but in normal game mode as well. The problem turned out to be in my script. Though i still don't understand why it only started causing a problem now and not when i wrote it originally.