title: Unity giving compile error without any error
body: <p>I am learning unity 3d game development and I was following a tutorial and wrote this code for a ball to apply force on its X-axis, but unity said all compile errors must be resolved before going in Playmode:</p>
  <blockquote>
  <p>code:</p>
  </blockquote>
  <pre><code>using System.Numerics;
  using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class AddConstantForce : MonoBehaviour
  {
      // Start is called before the first frame update
      void Start()
      {
          
      }
  
      // Update is called once per frame
      void Update()
      {
          GetComponent&lt;RigidBody&gt;().velocity = new Vector3(2,0,0);
      }
  }
  </code></pre>
  <p>I have update unity version. tried various new sample scenes, and after this error pops it also gives the error with default empty void start and void update functions too.
  please help</p>