Unity编译器错误(EditorWindowWrapper)
当我尝试构建项目时,我会出现编译器错误。我还没有看到任何问题,这就是为什么我在这里写它的原因。
这是主要的错误
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#项目,没有添加任何内容。当我尝试进行另一个项目时,它仍然会出现相同的错误。
它只允许我以安全模式看到该项目
是否有人会知道问题或如何解决吗?
谢谢!
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
Does anyone know the problem or how to fix it?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果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.