Support for XR features in the Universal Render Pipeline (URP) varies by URP package version. This page details compatibility between XR features in Unity 2022.1 and the latest compatible URP version.
To determine which version of URP is compatible with your current Unity version, see the Requirements and compatibility page in the Universal Render Pipeline documentation.
Unity 2022.1 supports the following AR and VR features in the Universal Render Pipeline:
功能 | XR 支持 |
---|---|
后期处理效果:泛光 | 是 |
后期处理效果:运动模糊 | 是 |
后期处理效果:镜头失真 | 否 |
后期处理效果:景深 | 是 |
后期处理效果:色调映射 | 是 |
其他后期处理效果(颜色调整等) | 是 |
GI(全局光照) | 是 |
HDR 渲染 | 是 |
MSAA | 是 |
物理摄像机 | 否 |
CopyColor / ColorDepth | 是 |
多显示 | 否 |
摄像机堆叠 | 是 |
级联阴影 | 是 |
sRGB | 是 |
Skybox | 是 |
雾效 | 是 |
公告牌 | 是 |
Shader Graph | 是 (1) |
粒子 | 是 |
Terrain | 是 |
2D UI(Canvas Renderer,Text Mesh Pro) | 是 |
URP 调试(Scene 视图模式,帧调试) | 是 (2) |
(1) Although Shader Graph shaders can run in XR, Shader Graph doesn’t currently support the XR utility feature to create SPI-compatible shader input textures. Unity will expand support for Shader Graph functionality in future releases.
(2) Unity supports frame debugging for mock HMDs. Currently, there is no support for Oculus.
To learn more about post-processing effects, see the Effect list page in the Universal Render Pipeline documentation.