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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

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,324
    When trying to build the project attached to Case 1108597 for Standalone Windows 64 bit, Unity outputs:
    It works fine in the editor though.
     
  2. TheZombieKiller

    TheZombieKiller

    Joined:
    Feb 8, 2013
    Posts:
    228
    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".
     
    Peter77 likes this.
  3. Peter77

    Peter77

    QA Jesus

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