Search Issue Tracker
By Design
Votes
0
Found in
2023.2.10f1
2023.3.0b7
7000.0.0a1
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
- Can’t delete gradient keys with Mac keyboard or context menu options
- Editor freezes for a few minutes when closing or switching a VFX window that was opened in a previous project
- UI Overlaps when switching Render Pipeline Asset for different Quality Levels in Quality Project Settings
- Ray Tracing Shader link to the documentation isn’t working
- Warning "BatchRendererGroups currently don't support override shaders" is spammed in Play mode when using H-Trace WSGI with BatchRenderGroups
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.