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.

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,472
    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:
    258
    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,472
    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.