xcode - RealityKit - 内部错误导致启动延迟 2 秒
问题描述
我有一个 Swift RealityKit 项目,当我加载场景时,Xcode 会延迟输出以下消息,这些消息与我编写的任何代码都无关。
我的应用程序运行良好,除了 Xcode 抱怨这些未知事物的 2 秒。
任何人都可以阐明我可能打开的导致这种情况的原因吗?我只需要杀死任何延迟我启动的东西
021-01-21 14:33:18.994011+0000 AppName[1396:516729] DEFAULTS: (intermediatePathOverride)=>(<null>)
2021-01-21 14:33:18.994808+0000 AppName[1396:516729] DEFAULTS: (logLevel)=>(3)
2021-01-21 14:33:18.994991+0000 AppName[1396:516729] DEFAULTS: (jasperColorStillsRunCorrection)=>(1)
Warning (secondary thread): in AppendProperty at line 859 of sdf/path.cpp -- Can only append a property 'preliminary:anchoring:type' to a prim path (/)
Warning (secondary thread): in AppendProperty at line 859 of sdf/path.cpp -- Can only append a property 'triggers' to a prim path (/)
2021-01-21 14:33:19.303829+0000 AppName[1396:516840] [Graphics] Failed to find reflection for buffer clusterIndexTable
而有时
2021-01-21 14:33:17.230591+0000 AppName[1396:516500] Errors found! Invalidating cache...
2021-01-21 14:33:17.391737+0000 AppName[1396:516500] fopen failed for data file: errno = 2 (No such file or directory)
2021-01-21 14:33:17.391784+0000 AppName[1396:516500] Errors found! Invalidating cache...
Json Parse Error line 22: Json Deserialization; unknown member 'EnableGuidedFilterOcclusion' - skipping.
谢谢,克里斯
解决方案
我遇到了类似的问题,问题出在我的模型上。我的解决方案是将我的模型更改为有效的.usdz文件。你可以在这里找到一些模板模型来检查它是否有效https://developer.apple.com/augmented-reality/quick-look/
推荐阅读
- r - R - 带有替换的 Sample() 产生具有相同索引的观察值
- windows - 使用 Set-String (Powershell) 从另一个文件中删除给定字符串的文本文件中的行
- c# - linq 查询的问题
- docker - 无法设置 kubernetes,因为“清单列表条目中没有匹配的清单未知”
- java - XWPF POI 如何在没有自动换行的情况下在段落中设置文本
- c++ - Gtkmm 标签未成功插入 ListBox
- python - 将 QuerySelectField 选定的数据对象转换为文字值
- javascript - 向具有向上计数效果的元素添加宽度
- arrays - 在登录到控制台之前等待循环完成
- x86 - _mm_cmpistri 的模式 12