handzlikchris / handzlikchris/FastScriptReload
Bug : Added new field cast issue (float initialized with int value)
- Ngôn ngữ chính
- C#
- Star
- 2.2k
- Fork
- 167
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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).
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, unity
- Lĩnh vực
- devtools, game-dev
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100