Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
369 views
in Technique[技术] by (71.8m points)

c# - Unity 2019.2。*-尝试构建后出现不可见/空错误(Unity 2019.2.* - Invisible/empty errors after trying to build)

In short, for some reason I can not figure out, two empty errors appear in my log .

(简而言之,由于某种原因我无法弄清楚, 我的日志中出现两个空错误 。)

These persist after clearing, on restart and occur in every project , both existing and new.

(这些在清除后仍然存在,在重新启动后仍然存在,并且在每个项目中都存在,包括现有项目和新项目 。)

Un- and re-installing Unity seem to have no effect whatsoever.

(卸载并重新安装Unity似乎没有任何效果。)

Unity Editor显示带有空错误问题的新空项目。

This issue started appearing for me in Unity 2019.2.1 and persists even after updating to the most recent 2019.2.14f1 .

(这个问题开始出现在Unity 2019.2.1中,并且即使更新到最新的2019.2.14f1仍然存在。)

Because they are errors, they prevent me from running or building the project which means I am completely stuck and can not use Unity until I find a way to fix this.

(因为它们是错误,所以它们使我无法运行或构建项目,这意味着我完全陷入了困境,无法使用Unity,直到找到解决方法。)

I am using Windows 10.

(我正在使用Windows 10。)

I have already submitted this issue to Unity, but I think it is an issue with my installation, so I don't know if they'll be able to help me.

(我已经将此问题提交给Unity,但是我认为这是我的安装问题,因此我不知道他们是否能够为我提供帮助。)

The issue appeared in one project and seemed to be contained to that one project until I attempted to build another project.

(该问题出现在一个项目中,并且似乎一直存在于该项目中,直到我尝试构建另一个项目为止。)

The moment I try to build a project, the issue appears and will persist no matter what I do.

(在我尝试构建项目的那一刻,无论我做什么,都会出现该问题并将持续存在。)

Even if a project is completely empty and brand new, the moment I attempt to build the project, the errors appear and the project becomes "cursed" with them.

(即使一个项目完全是空的并且是全新的,在我尝试构建该项目的那一刻,错误就会出现,并且该项目将与它们一起被“诅咒”。)

Something that might be the cause, but might also be a symptom, is that scripts will indicate that they can not find UnityEngine.

(可能是原因,但也可能是症状,原因是脚本将指示无法找到UnityEngine。)

Is there any way to manually install those libraries?

(有什么方法可以手动安装这些库吗?)

Even after manually uninstalling Unity, Visual Studio and removing all references to Unity from AppData, then installing the most recent versions of Unity and Visual Studio, the issue persists.

(即使手动卸载了Unity,Visual Studio并从AppData中删除了对Unity的所有引用,然后安装了最新版本的Unity和Visual Studio之后,问题仍然存在。)

I have not been able to test an affected project on a different computer, but I will update this question if I do.

(我无法在另一台计算机上测试受影响的项目,但是如果这样做,我将更新此问题。)

If Unity does get back to me with a solution I'll post that.

(如果Unity确实给我提供了解决方案,我将其发布。)

  ask by basklein translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...