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
- "ArgumentException: Unknown Type:`UnityEngine.SkinnedMeshRenderer`" Error thrown when a Subscene is open in a Scene
- Editor freezes on "Postprocessing IL for Assembly-CSharp" when compiling a script with an InputAction object referenced in a Managed Component
- UnityYAMLMerge fails to merge on some computers when some specific files are used
- [Android] The application freezes during the AssetBundle loading
- PlaneOcclusionShader Properties foldout does not display any content
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.