Search Issue Tracker

Won't Fix

Votes

0

Found in

2020.3.46f1

2021.3.21f1

2022.2.12f1

2023.1.0b9

2023.2.0a7

Issue ID

UUM-30779

Regression

No

VFX rendering a sphere when using a custom mesh

-

How to reproduce:
1. Open the "VFX_Mesh" Project
2. Open the "Test Scene 0" (Assets > Scenes)
3. In Scene view, observe the "Player Shield" GameObject (Player > Player Shield)
4. Open the "Player Shield" Visual Effect Asset (Assets > VFX)
5. Change the mesh field from "Capsule" to "testModel.fbx"
6. In Scene view, observe the "Player Shield" GameObject

Expected result: "Player Shield" Visual Effect component renders a silhouette of "testModel" GameObject
Actual result: "Player Shield" Visual Effect component renders a sphere

Reproduced with: 2020.3.46f1, 2021.3.21f1, 2022.2.12f1, 2023.1.0b9, 2023.2.0a7

Reproduced on: Windows 10 (by reporter), Windows 11

  1. Resolution Note:

    This is not a bug, there are several issues in the project that are misleading:
    - The scale of the player mesh is 100 so whatever the mesh is selected for the VFX it will be super tiny compared with the player's mesh (since the particle are circular the shape looks to be a sphere, but it's not).
    - In the VFX Graph, in the Set Position block the Transform->scale should be set accordingly to the player's mesh scale (100 in that case)
    - To have this scale property to effectively apply to the mesh (in the VFX) you should check the option "Read/Write" in the prefab (Model tab)
    - Also the player's mesh is rotated, so the VFX gameobject should have the same rotation
    I hope it's all clear and it can help you to solve your issue.

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.