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:*
*  

  1. This is a duplicate of issue #UUM-66762

    SpeedTree 9 - Improve dependency with SRPs
  1. Resolution Note:

    null
    Duplicate of another internal issue: UUM-66762: SpeedTree 9 - Improve dependency with SRPs

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.