Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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,618
    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:
    266
    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,618
    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.