项目OpenXR相关配置好了之后,Ctrl+S手动保存时报了一个包缓存无效的警告:
The package cache was invalidated and rebuilt because the following immutable asset(s) were unexpectedly altered:
Packages/com.unity.xr.openxr/Tests/Editor/OpenXR Package Settings With Duplicates.asset

这是因为在Assets/XR/Settings文件加下找不到OpenXR Package Settings.asset文件

然后他会使用默认的配置文件OpenXR Package Settings With Duplicates.asset,在Packages文件夹里
但此时发现并不能手动指定要使用哪个文件,通过下图中的脚本代码,可得出当前使用的OpenXR Package Settings文件存放到EditorBuildSettings.asset文件里了



909

被折叠的 条评论
为什么被折叠?



