如何修复“网络已过时"?团结一致 2019.1.9? [英] How can I fix "Network is obsolete" in unity 2019.1.9?
问题描述
我制作了一个游戏并使用了
暂时修复
为了现在仍然能够使用 HLAPI,您必须转到 PackageManager(Window →Package Manager)并找到并导入Multiplayer HLAPI
包.
请参阅包,了解有关PackageManager
的更多信息和一般包.
可能仍有一些更改要做,我并不是说这将完全修复该资产.如果您仍然遇到问题,您应该直接联系 制造商.unity.com/packages/tools/gui/energy-bar-toolkit-7515" rel="nofollow noreferrer">资产.
I made a game and use "Energy bar toolkit" unity package in unity 5.3.4
so I have "Network" contax Error when I transfer from unity 5.3.4
to unity 2019.1.9
because network removed in unity 2018.2
and newer
How can I repair This Error?
For the Future
Please don't post images of errors! Rather copy&paste the actual text of the console into your question. This helps us solving the issue faster and also allows other users with the same error to find this thread.
In general
You shouldn't make huge jumps in Unity versions. 5.3.4
is from 2015, 2019.1.9
from mid of 2019 ... you can expect a lot of API changes between over 3 years apart software versions in general.
You should rather make incremental step-wise updates and also when you do be aware of what changes each version in between brings.
When using an asset from the Asset-Store that says Unity version 5.2.1 or higher
... I would suspect maintanace kind of stopped quite a while ago and there will at minimum be some severe hickups in implementing it into most latest Unity versions over 3 years later.
UNet is obsolete
This has been known for quite a while already. It will soon be (almost) completely deprecated.
The fix for now
In order to still be able to use the HLAPI for now you have to go to the PackageManager (Window →Package Manager ) and find and import the Multiplayer HLAPI
package.
See Packages for more information about the PackageManager
and packages in general.
There might still be some changes to do and I'm not saying this will completely fix that asset. If you still have trouble you should rather directly contact the makers of the asset.
这篇关于如何修复“网络已过时"?团结一致 2019.1.9?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!