handzlikchris / handzlikchris/FastScriptReload

Bug : Added new field cast issue (float initialized with int value)

オープン
#76 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。