本页面列出了从早期版本的 Unity 升级到 2019.1 版时可能对现有项目造成影响的更改
在 2019.1 之前,Indirect Intensity 滑动条仅在使用渐进光照贴图 (Progressive Lightmapper) 时影响光照贴图。对于 Enlighten,该滑动条适用于光照探针和光照贴图。现在所有后端都会将 Indirect Intensity 值应用于光照贴图和光照探针。 再次对光照进行烘焙时,您可能会注意到,如果修改了 Indirect Intensity 值,探针会显得更亮。 在升级后,最好在重新烘焙光照贴图之前清除烘焙数据 (Clear Baked Data)。
请参阅 UI Elements 2019.1 升级指南以了解更多信息。
接受单个字符串的构造函数现在已弃用。请参阅文档以了解关于支持的重载的信息。
以 Unity 2019.1 创建的项目需要 macOS 10.12 或 Ubuntu 16.04 或更高版本。
已将多玩家高级 API 从扩展移入到包中。这不会影响 NetworkTransport 类(低级 API)。已将 Unity 引擎中的所有依赖项移入到包中。这意味着高级 API 现在是独立的,只是目前无法迁移性能分析器中的某些挂钩。
包含高级 API 的更早项目将自动添加该包以防止编译器错误。新项目不会发生此情况,您可以根据需要从 Package Manager 窗口中添加该包。请参阅多玩家高级 API 文档。
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.