Search Issue Tracker
Duplicate
Votes
0
Found in
6000.0.8f1
Issue ID
UUM-74408
Regression
No
SpeedTree 9 - Having a RP asset with a random name doesn't work for HDRP and URP
In the SpeedTree9Importer code, we are checking the name of the RenderPipeline asset to determine if the pipeline is URP, HDRP or Legacy. However, if a user is using a custom asset, renamed to something like "myRPAsset", our code breaks and switch to Legacy automatically.
We cannot use checks like "r{_}eturn GraphicsSettings.currentRenderPipeline is HDRenderPipelineAsset{_};" since this class is undefined at the script location (SpeedTree9Importer is in Mono Trunk, it's not aware of packages).
*Steps to reproduce:*
1. Create an HDRP project, using SpeedTree resources
2. In the Project Settings, use an HDRP RenderPipeline Asset with a basic name (like "testAsset")
3. Notice the errors in the console, about the missing shaders, and the pink tree(s).
*Actual results:*
Errors in the console and pink trees.
*Expected results:*
No errors and no pink trees.
*Reproducible with versions:*
Latest Trunk
*Not reproducible with versions:*
N/A
*Can’t test with versions:*
*Tested on (OS):*
*Notes:*
*
-
Resolution Note:
null
Duplicate of another internal issue: UUM-66762: SpeedTree 9 - Improve dependency with SRPs
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
- Memory usage rises when switching scenes with GRD enabled and a loaded texture in URP
- [Quality Hackweek] Terrain Brush Size value is not serialized after deselecting the terrain when using the first instance of multiple Inspectors
- "NullReferenceException" is thrown when setting a long string in TMP with "Atlas Population Mode" set to "Dynamic" and "Multi Atlas Textures" enabled
- TextMeshPro text is misaligned when alignment is set via script
- A DX11 shader error is thrown when compiling shaders for platforms without DX11 support
This is a duplicate of issue #UUM-66762