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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Physics2D doesn't behave as I expected

Discussion in 'Physics' started by a_yokobori_picola, Jun 1, 2020.

  1. a_yokobori_picola

    a_yokobori_picola

    Joined:
    Sep 18, 2018
    Posts:
    1
    Hello! I'm a Japanese game developer.

    I'm working on a simple 2D physics game, but it doesn't behave as I expected.

    <expected behavior>
    The ball goes into the goal every time.

    <Actual behavior>
    Sometimes the ball goes into the goal, sometimes it doesn't.

    Each time a scene is loaded, it behaves differently.Isn't physical reproducibility guaranteed even in the exact same environment?

    I've attached the project for reproduction.

    [Reproduction procedure]
    1. Open Assets/PhysicsTest/PhysicsTest.scene.
    2. Press the "Start" button and wait for the ball to enter the goal or pass by.
    3. Press the "Reload" button to reload the scene.
    4. Repeat steps 2 and 3 to make sure that they behave differently.

    [Reproduction environment]
    Unity 2018.4.19f1(64-bit)
     

    Attached Files: