Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

error CS0117: 'Physics2D' does not contain a definition for 'autoSimulation'

Discussion in '2020.1 Beta' started by Peter77, Sep 14, 2019.

  1. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,650
    When trying to build the project attached to Case 1108597 for Standalone Windows 64 bit, Unity outputs:
    It works fine in the editor though.
     
    brunogattai1996 likes this.
  2. TheZombieKiller

    TheZombieKiller

    Joined:
    Feb 8, 2013
    Posts:
    268
    The release notes for 2020.1a3 mention the following:
    • Physics: Add "Physics2D.SimulationMode" to allow selection of three simulations modes: FixedUpdate, Update or Script.
    • Physics: Replace "Physics2D.AutoSimulation" with "Physics2D.SimulationMode".
     
    brunogattai1996 and Peter77 like this.
  3. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,650
    Cool, thanks for the info! I totally missed this in the release notes. Still a bit odd that it works in the editor.
     
    brunogattai1996 likes this.