【问题标题】:RealityKit - Internal errors cause 2 seconds delay to startupRealityKit - 内部错误导致启动延迟 2 秒
【发布时间】:2021-04-26 00:22:36
【问题描述】:

我有一个 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.

谢谢,克里斯

【问题讨论】:

    标签: xcode realitykit


    【解决方案1】:

    我遇到了类似的问题,问题出在我的模型上。我的解决方案是将我的模型更改为有效的 .usdz 文件。你可以在这里找到一些模板模型来检查它是否有效https://developer.apple.com/augmented-reality/quick-look/

    【讨论】:

      猜你喜欢
      • 2021-10-16
      • 1970-01-01
      • 2011-10-24
      • 1970-01-01
      • 2015-01-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-05-17
      相关资源
      最近更新 更多