当前位置:网站首页>multiplayer-hlap 包有问题,无法升级的解决方案
multiplayer-hlap 包有问题,无法升级的解决方案
2022-07-31 01:48:00 【行秋】
问题描述:
eterministic compilation failed. You can disable Deterministic builds in Player Settings
Library\PackageCache\[email protected]\Editor\Tools\Weaver\AssemblyInfo.cs(22,28): error CS8357: The specified version string contains wildcards, which are not compatible with determinism. Either remove wildcards from the version string, or disable determinism for this compilation

问题分析:
首先的解决方案是升级包,如果你用的是 2020 之前版本,可以成功。但 Unity 2021之后已经更换了新的多人游戏库,这个库不再支持;PlayerGround 项目本身支持扩展为多人游戏,如果项目中中并未涉及,不会有任何影响。所以,直接 remove 删掉就行。
问题解决:
方法一:更新 multiplayer-hlapi,点击“Windows”----“Package Manager”,在Packages中下拉选择“In Project",找到”Multiplayer HLAPI",点击版本后面的向上的箭头进行更新,直到版本后面是绿色对号。
方法二:针对multiplayer-hlapi不能跟新,就选择”Remove“,然后看项目能否运行,不过不能的话,可以选择安装低版本的unity(unity2020及以下版本)。

备注:
如果不小心把multiplayer-hlap 包Remove了,可以点击左上的”+“,进行导入,选择”Add package from git URL...",后,输入com.unity.multiplayer-hlapi,然后点击“Add”。
边栏推荐
猜你喜欢

观察者(observer)模式(一)

关于Redis相关内容的基础学习

华为od 转骰子 js

pycharm重命名后无法运行(报错: can‘t open file......No such file or directory)

第一学年课程期末考试

Teach you how to configure Jenkins automated email notifications

Are you still working hard on the limit of MySQL paging?

Kyushu cloud as cloud computing standardization excellent member unit

1782. Count the number of point pairs Double pointer

Drools基本介绍,入门案例,基本语法
随机推荐
力扣每日一题-第46天-704. 二分查找
Shell变量与赋值、变量运算、特殊变量
My first understanding of MySql, and the basic syntax of DDL and DML and DQL in sql statements
充电效果模拟
类似 MS Project 的项目管理工具有哪些
prometheus 监控概述
Maximum monthly salary of 20K?The average salary is nearly 10,000... What is the experience of working in a Huawei subsidiary?
Drools基本介绍,入门案例,基本语法
Kyushu cloud as cloud computing standardization excellent member unit
ROS Action communication
Fiddler抓包模拟弱网络环境测试
PDF 拆分/合并
What are the project management tools like MS Project
GCC Rust is approved to be included in the mainline code base, or will meet you in GCC 13
How to expose Prometheus metrics in go programs
Inner monologue from a female test engineer...
基于FPGA的图像实时采集
leetcode-128: longest continuous sequence
如何在 go 程序中暴露 Prometheus 指标
曼城推出可检测情绪的智能围巾,把球迷给整迷惑了