Unity编译器错误(EditorWindowWrapper)

发布于 2025-02-02 13:11:27 字数 719 浏览 4 评论 0原文

当我尝试构建项目时,我会出现编译器错误。我还没有看到任何问题,这就是为什么我在这里写它的原因。

这是主要的错误

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Windows\EditorWindowWrapper.cs(10,16): error CS0246: The type or namespace name 'WrappedEditorWindow' could not be found (are you missing a using directive or an assembly reference?)

,这是一个香草统一C#项目,没有添加任何内容。当我尝试进行另一个项目时,它仍然会出现相同的错误。

它只允许我以安全模式看到该项目

以下是Unity的屏幕截图

是否有人会知道问题或如何解决吗?

谢谢!

I have compiler errors when i try to build my project. I haven't seen anyone with the same problems that's why i'm writing it here.

This is the main error

Library\PackageCache\[email protected]\Editor\VisualScripting.Core\Windows\EditorWindowWrapper.cs(10,16): error CS0246: The type or namespace name 'WrappedEditorWindow' could not be found (are you missing a using directive or an assembly reference?)

This is a vanilla Unity C# project with nothing added to it. When i try and make another project it still gives the same error.

It will only allow me to see the project in Safe Mode

Here is a screenshot of Unity

Does anyone know the problem or how to fix it?

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少女七分熟 2025-02-09 13:11:27

如果VS编译器正常。有一种方法:打开“窗口”> “包装管理器”,然后按弹出窗口左上角的 +(加号):添加git URL的软件包,在下面的文本框中输入com.unity.multiplayer-加上hlapi的文本框中。文本框右侧的添加按钮将点亮,单击安装,并且在安装完成后将解决错误。

If the vs compiler is normal. There is a way: open "Window" > "package Manager", then press the + (plus sign) in the upper left corner of the pop-up window: Add Package from git URL, enter com.unity.multiplayer- in the text box shown below the plus sign hlapi. The add button on the right side of the text box will light up, click Install, and the error will be resolved after the installation is complete.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文