mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-15 15:11:43 -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を用いて警告を抑制するようにしました。 |
||
|---|---|---|
| .. | ||
| Animation | ||
| AwaitCaller | ||
| Material | ||
| Texture | ||
| Util | ||
| Animation.meta | ||
| AwaitCaller.meta | ||
| ColorSpace.cs | ||
| ColorSpace.cs.meta | ||
| IResponsibilityForDestroyObjects.cs | ||
| IResponsibilityForDestroyObjects.cs.meta | ||
| Material.meta | ||
| PathObject.cs | ||
| PathObject.cs.meta | ||
| SubAssetKey.cs | ||
| SubAssetKey.cs.meta | ||
| Texture.meta | ||
| Util.meta | ||
| VRMShaders.GLTF.IO.Runtime.asmdef | ||
| VRMShaders.GLTF.IO.Runtime.asmdef.meta | ||