FastScriptReload icon indicating copy to clipboard operation
FastScriptReload copied to clipboard

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

Open GhatSmith opened this issue 2 years ago • 0 comments
trafficstars

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).

GhatSmith avatar May 22 '23 18:05 GhatSmith