AssetsPluginsGitHubEditorUnityAPIWrapper.cs(5,13): error CS0234: The type or namespace name ‘VersionControl’ does not exist in the namespace ‘Unity’ (are you missing an assembly reference?) I need help with this. im using 2021.3.16lts
using UnityEditor;
using UnityEngine;
using System.IO;
using System;
using Unity.VersionControl.Git;
namespace GitHub.Unity
{
[InitializeOnLoad]
public class UnityAPIWrapper : ScriptableSingleton<UnityAPIWrapper>
{
static UnityAPIWrapper()
{
#if UNITY_2018_2_OR_NEWER
Editor.finishedDefaultHeaderGUI += editor => {
UnityShim.Raise_Editor_finishedDefaultHeaderGUI(editor);
};
#endif
}
}
}
If i remove the Unity.VersionControl.Git i face another error.
New contributor
Emmanuel Kpabitey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.