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

Question Code Compiles in Visual Studio But Editor Shows Error

Discussion in 'Scripting' started by mtownstudiosltd, Aug 14, 2023.

  1. mtownstudiosltd

    mtownstudiosltd

    Joined:
    Jul 16, 2023
    Posts:
    1
    using NuGet CrC32.NET
    compiles In visual studio.But when i open Unity Editor It shoes the error shown below

    error CS0246: The type or namespace name 'Force' could not be found (are you missing a using directive or an assembly reference?

    can anyone help me how to fix it
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,563
    Nothing you do in Visual Studio matters to Unity.

    Look into adding that CRC32 package through the Unity Package Mangler.