com.unity.immediate-window icon indicating copy to clipboard operation
com.unity.immediate-window copied to clipboard

Will not compile on Unity 2020.1.0f1

Open JesseTG opened this issue 5 years ago • 3 comments

I just upgraded to Unity 2020.1.0f1, and unfortunately it broke this package (version 1.1.0-preview.3) with the following error message:

[CompilerError] The type or namespace name 'UnityScript' could not be found (are you missing a using directive or an assembly reference?)
Compiler Error at Library/PackageCache/[email protected]/Editor/Sources/UI/Window/Console/OutputItem.cs:2 column 7
1:   using UnityEngine.UIElements;
-->2:   using UnityScript.Scripting;
3:   using UnityEditor.ImmediateWindow.Services;
4:   using UnityEngine;

There's no workaround, the only option is to uninstall it.

JesseTG avatar Jul 23 '20 15:07 JesseTG

The workaround is simply to delete that line (and I think another identical one from somewhere else)

It works fine after that.

@mathieurivest - are you accepting pull requests?

andybak avatar Sep 24 '20 16:09 andybak

Bump.

@mathieurivest - it's probably a trivial fix but it's not worth me doing it if the PR isn't going to be accepted. Do you still look at your Github issues?

andybak avatar Sep 30 '20 10:09 andybak

The workaround is simply to delete that line (and I think another identical one from somewhere else)

It works fine after that.

@mathieurivest - are you accepting pull requests?

https://github.com/Unity-Technologies/com.unity.immediate-window/pull/3 contains this very simple change and I can confirm it fixes the issue.

andrew-raphael-lukasik avatar Dec 14 '20 14:12 andrew-raphael-lukasik