0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Unityで構造体の配列メンバーが表示されない謎

Posted at

はじめに

おはようございます。先程ブログに書いたのですが、かなり気になる現象でしたのでこちらでも記事にします。

背景

アニメーション関連の効率化(詳細は本筋とは関係ないので控えます)のために、Inspector上で構造体の配列をやり取りしようと考えました。

環境は以下のとおりです。

Unity: Unity2021.2.7f1
OS: Windows10 x64 (最新パッチ適応済み)
CPU: Intel Core i7 4771
GPU: GeForce RTX 3070 Ti

現象

実装自体は問題ないはずなのですが、メンバーが空白で表示されない状態です。

スクリーンショット 2021-12-23 231314.png

調査

単体で表示させたりするとメンバーが表示されるので、この場合独自の問題のようです。

また、Odinを導入するとメンバーが表示されることも確認しています。
現状では、「Odinを入れる」が最適解の模様です。

その後の対応

最終的に、Unityのバグではと考えてバグレポートを提出いたしました。
一体、何が原因なのだろう…。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?