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

Serialization

-

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)

  1. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0a17

Comments (3)

  1. 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.

  2. 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..

  3. JacksparrowPhillip

    Dec 20, 2021 12:54

    2021.2.7f1c1 could still reproduce this error!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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.