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. Dismiss Notice

The type name 'Rigidbody2D' could not be found in the namespace 'UnityEngine'.

Discussion in 'Editor & General Support' started by Nomaki, Mar 20, 2019.

  1. Nomaki

    Nomaki

    Joined:
    Apr 3, 2017
    Posts:
    1
    Opened up an older project from 2017 in Unity `2018.3.8f1`, and I'm getting a lot of errors similar to the title, saying fundamental aspects are not found in UnityEngine in Visual Studio (Collider2D, RigidBody2D etc).

    The same code works in a new project, so I can only assume something is messing up with Visual Studio incorrectly reporting errors, any idea how I fix this?

    upload_2019-3-20_14-11-58.png
     
    xiaoroushen likes this.
  2. skymeson

    skymeson

    Joined:
    Sep 30, 2016
    Posts:
    15
    Similar issue except happened when upgrading to 2019.1.0f2.