
2021.2 技术流编程功能

Unity 2021.2 Tech Stream 经过优化的编码工作流程
The Tech Stream release is for creators and coders who value having early access to the latest features so they can stay on the cutting edge. With a focus on increasing stability and robustness, 2021.2 includes an upgrade to the latest Mono, faster workflows with feature sets, performance improvements for rendering particles, and more.
Unity 2019有哪些新功能?
Mono 升级和新的 .NET 配置文件
利用版本定义访问最新的 API 功能,从而实现对旧版本 Unity 和 API 的向下兼容,以上功能通过单个代码库即可实现。
增量构建
Time.timeAsDouble 引入了很多 AsDouble 属性,因此你可以在项目中使用双精度时间。这对于创建长时间运行的应用程序(例如专用游戏服务器)的创作者特别有益。
功能集
将 Unity 的代码覆盖率包与 Test Runner 配合使用来检查项目代码的测试覆盖率,包括 HTML 格式的详细报告,以便查找当前测试套件遗漏的区域。
为通用渲染管道(URP)改进了VFX图形
在一台计算机上运行多个 Player 实例,然后将 Unity Profiler 连接到特定实例,深入了解其运行过程,从而以更少的硬件实现更高的生产力。
Emscripten 2.0.19
查看你的游戏在不同移动设备上的运行情况。设备模拟器现在将作为 Unity 主体的一部分进行安装。
控制您的版本
可视化的拖放图是对代码的补充,可加快原型制作和迭代速度。也可以借助可视化脚本让现有脚本更易于访问,并创建供非编程团队成员使用的工具。
改进了 WebGL 上的 URP 性能
UnityLinker 的增强功能改进了方法体剥离、C# 反射的检测和委托剥离,所有这些都是为了减少 IL2CPP 将剥离的程序集转换为 C++ 所花费的时间以及降低可执行文件的大小。
可寻址的同步 API 支持
该 Unity 版本包含许多针对整个 IL2CPP 转换和底层 C++ 编译过程的微小优化,以缩短构建时间和改善项目转换。
快速资产工作流
对 Unity Profiler 的内存性能分析包进行了更新,以确保报告托管数据类型(包括多维数组)的所有相关数据,并改进了纹理和网格内存报告。
改进的搜索
Visualize complex search queries across multiple properties with new Table Views. The integrated search also provides a more streamlined Asset Picker experience.
原生编辑器支持 Apple silicon
New native support for the Unity Editor on Apple silicon ensures your games will run seamlessly on current and future Mac systems.
HDRP 中提高了性能
Boost your performance and visual quality on PC and consoles with HDRP’s new dynamic resolution upscalers (NVIDIA DLSS, AMD FSR and TAA Upscale), and run applications at 4K or high frame rates.