Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.4
2020.3
2021.1
2021.1.3f1
2021.2
Issue ID
1342486
Regression
No
"Unsupported type Vector2f" error appears when using SerializeReference with Vector value
How to reproduce:
1. Open the user's attached project and SampleScene
2. In the Hierarchy window, select GameObject
3. In the Inspector window, set Thing value to B
4. Observe the Console window
Expected result: there are no errors
Actual result: error "Unsupported type Vector2f" is printed
Reproducible with: 2019.4.28f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0a16
Not reproducible with: 2021.2.0a17, 2021.2.0b1
Could not test with: 2018.4 (Serialization errors)
-
coatline
Apr 09, 2024 16:28
I have this problem in Unity 2022.3.23f1
Unsupported type Vector2f
UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()constantly and I don't know where it is coming from.
-
LogaNRV
Feb 23, 2022 00:34
Ok, just saw this error in Unity 2021.2.12.
It started after I changed an already existing property from float to Vector2.
It was a private property but exposed to the Editor through the use of [SerializeField].
After that, I started receiving the "Vector2f" error, every time I changed ANY Vector2 in that script.
But only for the objects in the scene that were instances of a prefab!
I have other objects with the same script, that were not instances of a prefab, and those were not affected.
My solution was to remove that property and recreate it anew but with another name.
I had to retype some data in those objects, but better than having the error all the time.. -
JacksparrowPhillip
Dec 20, 2021 12:54
2021.2.7f1c1 could still reproduce this error!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a17