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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.