PC VR 项目打包(Packaging)设置¶
整理 PC 端 VR 项目打包时用到的设置:减小打包体积的 Cook 选项,以及一份分级缩放(Scalability)画质参考配置。
减小打包体积:Cook 设置¶
在项目设置(Project Settings → Packaging)中按下图勾选:
- Cook only maps (this only affects cookall):该项只在同时开启「Cook everything in the project content directory (CookAll)」时才生效,作用是把 cookall 收窄回地图及其引用;默认打包本就只烘焙被引用的内容,平时勾不勾对包体大小无影响
- Cook with Warnings As Errors enabled:不勾选
- Exclude editor content when cooking:勾选,烘焙时排除编辑器内容
真正减小体积的有效手段:不开 CookAll、勾选 Exclude editor content when cooking、用 List of maps to include in a packaged build 只打包需要的地图、启用 Pak/压缩。
Scalability Groups 画质参考配置¶
编辑器中 Settings → Engine Scalability Settings 的一份 PC VR 参考配置(截图):
| 项目 | 档位 |
|---|---|
| View Distance | Near |
| Anti-Aliasing | High |
| Post Processing | Medium |
| Shadows | Medium |
| Global Illumination | High |
| Reflections | Medium |
| Textures | Medium |
| Effects | Medium |
| Foliage | Medium |
| Shading | Medium |
| Landscape | Medium |
Play-In-Editor 3D Resolution 的 Screen Percentage 设为 71%。
Meta 插件 Setup¶
修 MetaXR¶
修 TargetIcon¶
ID:70 | 更新:2026-07-06

