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
- Profiler - Taking you to the wrong section when using 'show'
- Draw Renderers custom pass doesn't work with SSGI
- WebCamTexture does not set the requested resolution when used in WebGL
- Editor default Stylesheet/Matching Selector buttons in Debugger don't do anything
- Graphics.DrawMeshNow stops rendering Render Texture after a few frames when viewed in the Player
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a17