Search Issue Tracker
Fixed in 2022.3.15f1
Fixed in 2022.3.X, 2023.1.X, 2023.2.X, 2023.3.X
Votes
0
Found in
2021.3.24f1
2022.2.18f1
2023.1.0b15
2023.2.0a13
2023.3.0a3
Issue ID
UUM-34570
Regression
No
Error when assigning a Skinned Mesh component to Skinned Mesh property in Set Position node
Steps to reproduce:
1. Open attached project "rqa-project-nightwalker.zip" and scene "AuraDemo"
2. In Project window, open Assets/Effects/EnergyAura/EnergyAura.vfx
3. In VFX Graph window, select the Initialize Particle -> Set Position (Skinned Mesh) -> Skinned Mesh property and open its object picker
4. In Skinned Mesh object picker, select the "Armature_Mesh" GameObject
5. Observe Console window
Expected result: No errors, the Skinned Mesh Renderer is assigned
Actual result: "Cannot cast from UnityEngine.Object to UnityEngine.SkinnedMeshRenderer" error, the Skinned MeshRenderer is not assigned
Reproducible with: 12.1.11 (2021.3.24f1), 14.0.7 (2022.2.18f1), 15.0.5 (2023.1.0b15), 16.0.1 (2023.2.0a13)
Could not test with: 10.10.1 (2020.3.48f1) (Skinned Mesh position node is unavailable)
Notes:
1. The issue also reproduces when dragging the Skinned Mesh Renderer component into the graph's field directly
2. In 2022.2, the error is "InvalidCastException: Specified cast is not valid." and only reproduces by dragging the component directly. Choosing it in the Object Picker produces no results.
3. In 2021.3, you cannot even assign the Skinned Mesh Renderer with either method
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
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
Resolution Note (fix version 2023.2):
Fixed in 2023.2.0a18
Resolution Note (fix version 2023.1):
Fixed in 2023.1.17f1