洪流学堂,让你快人几步。你好,我是你的技术探路者郑洪智,你可以叫我大智。
本文最后更新于
2020
-
08
-
03
,随着Unity版本更新可能会有所不同
如遇问题可以私信大智(vx:zhz11235)。
很多同学发现2020.1的Package Manager列表中没有Entities包了,即使打开 show preview packages 也没有,如何解决呢?
在Unity2020之后,启用预览包移到了菜单栏Edit > Project Settings > Package Manager中的 Enable Preview Packages 。如下图:
先说解决办法,再告诉你原因。顺便吐槽一句:说好的2020.1发布DOTS正式版呢?
解决办法
1、打开Unity的菜单栏
Window > Package Manager
2、在左上角+号图标选择
Add package from git URL
3、在输入框中输入
com.unity.entities
,然后点击Add按钮。
4、点完以后可能什么反应都没有,不过这时候已经
后台在下载
了,稍微等一会,下载完成后,你就能看到加载的进度条了。
5、加载完成后,Console可能会有一些警告和错误,只要点击Clear能清除掉,就没什么问题。
6、这时候你再去看Package Manager的列表,就能看到DOTS三件套都安装好了。
问题原因
Unity在2020.1中修改了package manager的一些策略,处于早期开发阶段和开发不活跃的包无法直接搜索到(即使打开show preview package也搜不到,列表里也没有),只能通过上述的步骤:
1、打开package manager 2、在左上角+号图标选择
Add package from git URL
3、在输入框中输入包名手动添加。
【附】无法直接搜索到的包有:
com
.
ptc
.
vuforia
.
engine
com
.
unity
.
2d
.
entities
com
.
unity
.
ai
.
planner
com
.
unity
.
aovrecorder
com
.
unity
.
assetbundlebrowser
com
.
unity
.
assetgraph
com
.
unity
.
barracuda
com
.
unity
.
barracuda
.
burst
com
.
unity
.
build
-
report
-
inspector
com
.
unity
.
cloud
.
userreporting
com
.
unity
.
collections
com
.
unity
.
connect
.
share
com
.
unity
.
dots
.
editor
com
.
unity
.
entities
com
.
unity
.
film
-
tv
.
toolbox
com
.
unity
.
google
.
resonance
.
audio
com
.
unity
.
immediate
-
window
com
.
unity
.
mathematics
com
.
unity
.
meshsync
com
.
unity
.
multiplayer
-
hlapi
com
.
unity
.
package
-
manager
-
doctools
com
.
unity
.
package
-
manager
-
ui
com
.
unity
.
package
-
validation
-
suite
com
.
unity
.
physics
com
.
unity
.
platforms
com
.
unity
.
platforms
.
android
com
.
unity
.
platforms
.
linux
com
.
unity
.
platforms
.
macos
com
.
unity
.
platforms
.
web
com
.
unity
.
platforms
.
windows
com
.
unity
.
playablegraph
-
visualizer
com
.
unity
.
render
-
pipelines
.
lightweight
com
.
unity
.
rendering
.
hybrid
com
.
unity
.
renderstreaming
com
.
unity
.
scene
-
template
com
.
unity
.
simulation
.
client
com
.
unity
.
simulation
.
core
com
.
unity
.
simulation
.
capture
com
.
unity
.
simulation
.
games
com
.
unity
.
standardevents
com
.
unity
.
streaming
-
image
-
sequence
com
.
unity
.
test
-
framework
.
performance
com
.
unity
.
tiny
.
all
com
.
unity
.
transport
com
.
unity
.
upm
.
develop
com
.
unity
.
vectorgraphics
com
.
unity
.
webrtc
com
.
unity
.
xr
.
googlevr
.
android
com
.
unity
.
xr
.
googlevr
.
ios
com
.
unity
.
xr
.
legacyinputhelpers
com
.
unity
.
xr
.
oculus
.
android
com
.
unity
.
xr
.
oculus
.
standalone
com
.
unity
.
xr
.
openvr
.
standalone
com
.
unity
.
xr
.
arsubsystems
com
.
unity
.
xr
.
interactionsubsystems
com
.
unity
.
xr
.
windowsmr
.
metro
扩展阅读
【扩展学习】 在 洪流学堂 公众号回复 DOTS 可以阅读本系列所有文章,还有不定时的直播通知哦!
呼~ 没讲清楚的地方欢迎评论,咱们一起探索。
我是大智(微信:zhz11235),你的技术探路者,下次见!
别走!
点赞
,
收藏
哦!
好,你可以走了。
3668

被折叠的 条评论
为什么被折叠?



