Skip to content

Fix editor crash due to AssetViewModel.TypeDisplayName being null#3150

Open
Basewq wants to merge 1 commit intostride3d:masterfrom
Basewq:editor-asset-display-fix
Open

Fix editor crash due to AssetViewModel.TypeDisplayName being null#3150
Basewq wants to merge 1 commit intostride3d:masterfrom
Basewq:editor-asset-display-fix

Conversation

@Basewq
Copy link
Copy Markdown
Contributor

@Basewq Basewq commented Apr 23, 2026

PR Details

Ensures AssetViewModel.TypeDisplayName uses object type name as fallback name if [Display] attribute Name property is not set.

Related Issue

Fixes #3149

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have built and run the editor to try this change out.

…fallback name if DisplayAttribute.Name is not set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Editor crash due to Custom Asset with [Display] Attribute without Name set

3 participants