Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Disable script compilation during Play mode.

Discussion in 'Editor & General Support' started by koirat, Jul 14, 2021.

  1. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,008
    I want to disable compilation during Play mode when I modify my script.
    Where are the settings ?
     
  2. Epsilon_Delta

    Epsilon_Delta

    Joined:
    Mar 14, 2018
    Posts:
    205
    Edit -> Preferences -> General
    upload_2021-7-14_11-6-39.png
    On Mac it's Unity -> Preferences if I am not mistaken
     
    koirat likes this.
  3. koirat

    koirat

    Joined:
    Jul 7, 2012
    Posts:
    2,008
    Well I do have Recompile After Finished Playing set.
    So why was it recompiling while still in play mode. Will have to take a deeper look at this.
     
  4. Epsilon_Delta

    Epsilon_Delta

    Joined:
    Mar 14, 2018
    Posts:
    205
    Hmm it works fine on my machine, maybe it's a bug then.
     
  5. Sylafrs

    Sylafrs

    Joined:
    Jun 25, 2013
    Posts:
    53
    Hey :) I'm necroposting this topic for Unity 2021; it seems the option "Recompile after finished playing" disappeared. Is there a trick to achieve the same behaviour ?