Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

项目中不存在版本文件,建议在忽略文件中去掉。 #23

Open
jyunfan2015 opened this issue Oct 22, 2022 · 4 comments
Open

Comments

@jyunfan2015
Copy link

StarForce//ProjectSettings/ProjectVersion.txt

本案例是一个教学demo,但是忽略文件中把这个版本文件去掉了,不建议这么做。因为unity版本众多,有时候不同Unity版本打开同一个unity项目会出错,所以建议保留这个文件,这样使用者可以通过这个文件里的内容得知,该unity项目是具体哪个unity版本开发的?

01

@jyunfan2015
Copy link
Author

与框架学习群的群友讨论过,到目前为止这个项目的这个版本,版本号为:d4ce803353f89852c4d58df65b2482a3b08eb11f。使用Unity 5.4以上,到Unity 2022.1.6f都能正常打开运行,建议作者,在项目说明文件,比如在Readme文件中增加建议打开该项目的Unity版本号。而忽略文件中的StarForce//ProjectSettings/ProjectVersion.txt,我认为还是增加为好,即上图中的22行无需删除。因为该项目兼容性很好,至少到目前为止,从低版本Unity5.4到打开2022.1.6f1的Unity都能正常运行。

@young40
Copy link

young40 commented May 10, 2023

我建议作为一个demo工程, 只兼容较新版本即可.

目前工程直接用新版2022.2.18f, 缺少UGUI的package, 直接报错.

@ranger990309
Copy link

unity2022版本显示UI报错的 去加一个unity UI 的package包,我还碰到13个有关于ProcedureVerifyResources.cs的报错,还没解决的了
image

@lz2205324544
Copy link

@ranger990309 需要去下最新的https://github.com/EllanJiang/UnityGameFramework放进去就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants