mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-15 07:00:10 -05:00
com.unity.cloud.ktxが存在していない場合にそのままnullを返す実装に切り替わりますが、そのままだとasyncメソッドで一度もawaitしていないので次のようなコンパイラの警告が出てしまっていました。 ``` Assets/VRMShaders/GLTF/IO/Runtime/Texture/Importer/KtxTextureDeserializer.cs(14,38): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. ``` pragmaを用いて警告を抑制するようにしました。 |
||
|---|---|---|
| .. | ||
| DeserializingTextureInfo.cs | ||
| DeserializingTextureInfo.cs.meta | ||
| ITextureDeserializer.cs | ||
| ITextureDeserializer.cs.meta | ||
| KtxTextureDeserializer.cs | ||
| KtxTextureDeserializer.cs.meta | ||
| SamplerParam.cs | ||
| SamplerParam.cs.meta | ||
| TextureDescriptor.cs | ||
| TextureDescriptor.cs.meta | ||
| TextureDescriptorSet.cs | ||
| TextureDescriptorSet.cs.meta | ||
| TextureFactory.cs | ||
| TextureFactory.cs.meta | ||
| TextureImportName.cs | ||
| TextureImportName.cs.meta | ||
| TextureImportTypes.cs | ||
| TextureImportTypes.cs.meta | ||
| UnitySupportedImageTypeDeserializer.cs | ||
| UnitySupportedImageTypeDeserializer.cs.meta | ||
| UnityTextureDeserializer.cs | ||
| UnityTextureDeserializer.cs.meta | ||