handzlikchris / handzlikchris/FastScriptReload
Bug : Added new field cast issue (float initialized with int value)
オープン
bug
- 主要言語
- C#
- スター
- 2.2k
- フォーク
- 167
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
When adding a new float field with an integer initial value (no 'f' suffix), there is a cast exception in the NewFieldsRendererDefaultEditorPatch.RenderNewlyAddedFields method (newFieldType is System.Single but addedFieldValues[addedFieldValueKey] is System.Int32).
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start in NewFieldsRendererDefaultEditorPatch.RenderNewlyAddedFields and inspect how newFieldType is applied to addedFieldValues. Reproduce the issue by adding a float field with an integer initial value; done means the field is added without a cast exception and retains the expected value.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, unity
- 領域
- devtools, game-dev
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100