Skip to main content

Physics2D does not contain a definition for Simulate

This issue may be caused by manually calling Physics2D.Simulate() which is not supported by Luna.

Possible solution:

  • Remove the call for Physics2D.Simulate() and change Physics2D Simulation Mode to Update or FixedUpdate in Project Settings. This is located in Project Settings → Physics 2D → Simulation Mode → Update / FixedUpdate.

images-large