handzlikchris / handzlikchris/FastScriptReload
Bug : Added new field cast issue (float initialized with int value)
- Langage dominant
- C#
- Étoiles
- 2.2k
- Forks
- 167
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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).
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- csharp, unity
- Domaine
- devtools, game-dev
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100