Open florius0 opened 3 years ago
I guess i have the same problem here, but my nullreference comes with a similar definition in the next method UploadInstance(). By the way, i´m not entirely sure if this has anything to do with the error, but it also freezes the editor during the build. I´m on version 1.24
You can try to comment out call that causes error and add RuntimeConfig to preloaded assets manualy
Привет! Столкнулся с похожей ситуацией. Действительно, ошибка появлялась из-за списка предзагруженных объектов в самом редакторе. В моем случае в списке было 2 элемента, где 1 почему-то был пуст. Я его удалил, тем самым исправил ошибку.
Hey! I faced a similar situation. Indeed, the error appeared due to the list of preloaded assets in the editor. In my case, there were 2 elements in the list, where first was null. I removed it, thereby fixing the error.
I was following official tutorial on Google Cloud Anchors and faced a problem. After setting up api key for iOS this exception raises during build-time when
RuntimeConfig
asset is created inLoadInstance
.My environment:
Unity 2020.3.0f1 LTS
Build platform: iOS
macOS 10.15.7
Instance is null
Note: I added some logging
May be the reason of this behaviour is attempt to create an asset in read-only directory? Log output: