Skip to content

Editor crashes on nullable value type fields #3014

@zgxnet

Description

@zgxnet

Release Type: GitHub source current branch

Version: Latest commit at time of report

Platform(s): Windows

Describe the bug
The editor crashes when handling nullable value types, e.g. float?

To Reproduce
Steps to reproduce the behavior:

  1. Define a component with a nullable value type field (e.g. float?)
  2. Add the component to an entity
  3. Attempt to edit the field in the editor
  4. Editor crashes

Expected behavior
Nullable value type fields should be editable like regular fields, where an empty string represents null

Screenshots
Not applicable

Log and callstacks
Not applicable

Additional context
It appears that the editor doesn't currently support nullable value types

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions