Search Issue Tracker
Fixed
Fixed in 2023.3.0b9
Votes
1
Found in
2023.3.0a8
Issue ID
UUM-49673
Regression
Yes
Changing material preview 3D model in the Inspector does not work
Steps to reproduce:
- Create a new project
- Create a new material in the Assets/ folder in the Project window
- Select the material and navigate to the Inspector (make sure visual preview is brought up)
- In the preview section, click on the "Shape" button next to the "Play" button to change the material preview model
Expected result: the material is previewed on selected 3D models
Actual result: the 3D model does not change
Reproduces on: 2023.3.0a8 (trunk)
Does not reproduce on: 2023.1.3f1
h2. Preliminary investigation results
There are multiple instances of MaterialEditor that get created and the button event seem to be forwarded to a leaked instance.
- This bug doesn't occur when using the "Properties" view (`Right-Click a material > Properties...` towards the bottom of the menu).
- This bug doesn't occur if the first inspector after a domain reload is a material inspector. Any other inspection afterward will have the bug.
- De-selecting and re-selecting the material will show the updated preview mesh (as expected because we are reading it from editor prefs on awake)
- I've verified that the instance ID of the `MaterialEditor` that receives `OnSelectedMeshClick` is not the same as the MaterialEditor rendering the preview in `DoRenderPreview`
- The same bug occurs with the light mode button (next to the preview mesh button). It's safe to assume that the whole toolbar is non-functional.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Add comment