Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X, 6000.2.X, 6000.3.X

Votes

1

Found in

6000.0.51f1

6000.1.9f1

6000.2.0b7

6000.3.0a1

Issue ID

UUM-110168

Regression

No

GPU Resident Drawer adding DontUnloadUnusedAsset to Meshes and Materials when editing them in Scene

-

Reproduction steps:
1. Open the attached “IN-104928.zip” project
2. Open the “SampleScene”
3. Create a new Material (Assets > Create > Material)
4. Add the Material to the Cube in the Scene
5. Select the Material asset from the Project Window
6. In the Inspector, modify any of its properties (e.g. Metalic Map Slider, Smoothness Slider) and Save
7. Right-click on the Material and click “Show In Explorer”
8. Open the Material file in a text editor
9. Observe the “m_ObjectHideFlags” value

Expected result: “m_ObjectHideFlags:” value is “0”
Actual result: “m_ObjectHideFlags:” value is “32”

Reproducible with: 6000.0.51f1, 6000.1.9f1, 6000.2.0b7, 6000.3.0a1
Couldn’t test with: 2022.3.63f1 (GPU Resident Drawer not available)

Reproducible on: Windows 11
Not reproducible on: no other environment tested

Notes:
- Also reproduces with ProBuilder Mesh by just adding Shape to the Scene and Saving
- Does not reproduce if the Material is edited before adding it to a GameObject in the Scene

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.