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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
This is a duplicate of issue #UUM-66762