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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
Resolution Note (fix version 2023.2):
Fixed in 2023.2.0a18
Resolution Note (fix version 2023.1):
Fixed in 2023.1.17f1