Search Issue Tracker

Won't Fix

Votes

0

Found in

6000.0.61f1

6000.2.10f1

6000.3.0b8

6000.4.0a4

6000.5.0a3

Issue ID

UUM-128198

Regression

No

VFX dimensions appear incorrect in the Scene tab when imported or reimported

-

How to reproduce:
1. Open the project “IN-118374_VFXGraph”
2. Open the “SampleScene” scene
3. Observe the Scene tab

Expected result: The VFX combines two circles into one, waves with a splashing effect
Actual result: The VFX shows up as two circles, one big circle of waves and one smaller circle of a splashing effect

Reproducible with: 2023.1.0a1, 6000.0.61f1, 6000.2.10f1, 6000.3.0b8, 6000.4.0a4

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

Notes:

  • In case the issue does not reproduce, please try reimporting all assets or creating a new project and drag and dropping the attached .unitypackage into the /Assets folder
  • In some Unity versions, the issue fixes itself after opening the faulty VFX in the VFX Graph by double clicking it. Sometimes the issue will re-appear after restart and other times it will remain fixed. This can be observed specifically in 6000.0.61f1
  • The issue sometimes reproduces in a Standalone Build (tested with Windows only)
  1. Resolution Note:

    Thanks for the report. Your repro case actually helped us uncover another shader compilation issue.

    We identified a discrepancy between Runtime and Editor behavior: in the Editor, the default size of 0.1f is used, even when 1.0f is set in VFXUpdate (Enabling "Generate Shaders with Debug Symbols" in Visual Effect Preference also changes the behavior)

    Behind the scenes, the related issue is https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-128662 and this is tied to an FXC compiler flaw.

    We modified the attribute layout for optimization purposes between versions 6000.1.0a5 and 6000.1.0a6, which unintentionally masked this FXC issue.

    The “Actual (incorrect)” result is in fact what we expect to see when the FXC issue is not present. However, there are two ways to make the behavior correct in your graph:

    - Ground Circle, Ground Circle (1), and Ground Circle (3): Disable or remove the “Set Size” block in VFXUpdate.
    Or,
    - Ground Circle, Ground Circle (1), and Ground Circle (3): There is a Vector3 Scale plugged into VFXUpdate; it should be set to (0.1, 0.1, 0.1).

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.