Skip to content

Commit 4c0bab2

Browse files
authored
FIX: CI Failure due to hard coded path to the Assembly changing (#2204)
1 parent a33b05b commit 4c0bab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/Tests/InputSystem/CoreTests_Editor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3398,7 +3398,7 @@ internal static Type Compile(string code, string typeName, string options = null
33983398
{
33993399
var codeProvider = CodeDomProvider.CreateProvider("CSharp");
34003400
var cp = new CompilerParameters { CompilerOptions = options };
3401-
cp.ReferencedAssemblies.Add($"{EditorApplication.applicationContentsPath}/Managed/UnityEngine/UnityEngine.CoreModule.dll");
3401+
cp.ReferencedAssemblies.Add(typeof(UnityEngine.Vector2).Assembly.Location);
34023402
cp.ReferencedAssemblies.Add("Library/ScriptAssemblies/Unity.InputSystem.dll");
34033403
#if UNITY_2022_1_OR_NEWER
34043404
// Currently there is are cross-references to netstandard, e.g. System.IEquatable<UnityEngine.Vector2>, System.IFormattable

0 commit comments

Comments
 (0)