Search Issue Tracker

By Design

By Design in 6000.6.X

Votes

0

Found in

6000.3.16f1

6000.4.8f1

6000.5.0b9

6000.6.0a5

Issue ID

UUM-142646

Regression

Yes

VFX Graph forces a lengthy recompilation freeze when exiting Play Mode with a cloned Render Pipeline asset

SRP Settings

-

How to reproduce:

  1. Open the attached "IN-142894_VFXGraph_AssetPipeline_Bug" project
  2. Open the "Reproscene" scene
  3. Ensure the "ENABLE THIS TO TRIGGER BUG" is enabled in the Inspector
  4. Enter the Play mode
  5. Exit the Play mode
  6. Observe the loading time upon exiting the Play mode

Actual result: The Editor freezes upon exiting Play Mode
Expected result: The Editor should exit Play Mode quickly and smoothly without freezing

Reproducible with: 6000.2.0b1(d17678da8412), 6000.3.16f1, 6000.4.8f1, 6000.5.0b9, 6000.6.0a5
Not reproducible with: 6000.0.75f1, 6000.2.0a10

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Workaround: Avoid using Instantiate() to clone the Render Pipeline asset during Play Mode. Instead, modify the active pipeline asset properties directly (e.g., GraphicsSettings.currentRenderPipeline) and manually revert the changes in OnDestroy() so the modifications do not permanently overwrite the .asset file on disk

  1. Resolution Note:

    The VFX assets need to be re-imported upon render pipeline change. The fact they used to not get re-imported was actually a bug, which has now been resolved. Generally, we would advise to not change the render pipeline at runtime, but select the target render pipeline through the settings permanently, if possible.

    We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.

  2. Resolution Note (6000.6.X):

    The VFX assets need to be re-imported upon render pipeline change. The fact they used to not get re-imported was actually a bug, which has now been resolved. Generally, we would advise to not change the render pipeline at runtime, but select the target render pipeline through the settings permanently, if possible.

    We will close this case as 'As Designed.' If you have feedback on how the feature could better meet your needs, please let us know - we value your input and consider it in future improvements.

Add comment

Log in to post comment