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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question ProjectSettings/TimeManager.asset is being mysteriously modified

Discussion in 'Editor & General Support' started by PeterDrake, Jun 6, 2023.

  1. PeterDrake

    PeterDrake

    Joined:
    May 22, 2018
    Posts:
    12
    I'm using Unity 2021.3.18f1 and git.

    Often, when I go to make a commit, git status says:

    modified:   ProjectSettings/TimeManager.asset


    Here's the diff:

    Code (csharp):
    1. diff --git a/ProjectSettings/TimeManager.asset b/ProjectSettings/TimeManager.asset
    2. index 86a54fff8..7685cbd01 100644
    3. --- a/ProjectSettings/TimeManager.asset
    4. +++ b/ProjectSettings/TimeManager.asset
    5. @@ -5,5 +5,5 @@ TimeManager:
    6.    m_ObjectHideFlags: 0
    7.    Fixed Timestep: 0.333
    8.    Maximum Allowed Timestep: 0.333
    9. -  m_TimeScale: 0
    10. +  m_TimeScale: 1
    11.    Maximum Particle Timestep: 0.333
    I have not modified this file. What's going on and how do I avoid constantly committing changes to it?
     
  2. Madgvox

    Madgvox

    Joined:
    Apr 13, 2014
    Posts:
    1,315
    Are you (or a plugin) setting Time.timeScale while in edit mode?
     
  3. PeterDrake

    PeterDrake

    Joined:
    May 22, 2018
    Posts:
    12
    I am not knowingly doing so. Is there some way I might be implicitly doing so? Are there particular plugins known to do this?