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を用いて警告を抑制するようにしました。 |
||
|---|---|---|
| .. | ||
| Editor | ||
| Resources | ||
| Runtime | ||
| Tests | ||
| Editor.meta | ||
| Resources.meta | ||
| Runtime.meta | ||
| Tests.meta | ||