Search Issue Tracker
By Design
Votes
0
Found in
2023.2.10f1
2023.3.0b7
Issue ID
UUM-63981
Regression
Yes
Gameobject Material is not rendered when an asset bundle is built containing the Material with HDRP Shader and Instantiated
Reproduction steps:
1. Open the “ReproProject“ project
2. Open the Bug Repro Editor window (Window > Bug Repro Editor Window)
3. Select the “Assets/Cube“ as the Target Object in the Bug Repro Editor window
4. Click the “Build to bundle“ button in the Bug Repro Editor window
5. Click the “Load and Instantiate Object“ button in the Bug Repro Editor window
6. Select the “Assets/StreamingAssets/cube” in the Open Asset Bundle popup window
7. Observe the Scene view
Expected result: The cube is gray
Actual result: The cube color is pink
Reproducible with: 2023.1.0a26, 2023.2.10f1, 2023.3.0b7
Not reproducible with: 2022.3.19f1
Couldn’t test with: 2021.3.35f1, 2023.1.0a1, 2023.1.0a25 (due to compilation errors)
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
The problem is that the project has URP render pipeline assets assigned in Quality Settings (see Project Settings > Quality > Levels). Assets in associated Quality levels and Graphics Settings cannot belong to different render pipelines. For the Performant and Balanced levels, set Rendering >Render Pipeline Asset to the HDRP render pipeline asset (Assets\HDRPDefaultResources\New HDRenderPipelineAsset.asset). If needed, close + reopen the project and delete the old bundles in Assets\StreamingAssets. Then the cube.unity3d bundle can be rebuilt correctly.