Search Issue Tracker

Duplicate

Votes

0

Found in

2017.4

2018.4

2019.2

2019.2.2f1

2019.3

2020.1

Issue ID

1179279

Regression

No

Vector3 does not implement IFormattable interface

Scripting

-

How to reproduce:
1. Open the attached 'project-1179279.zip' project
2. Enter Play mode and observe the Console window

Expected result: both logs return formatted Vector3 value
Actual result: Vector3 value is not formatted unless '.ToString()' is used

Reproducible with: 2017.4.32f1, 2018.4.8f1, 2019.2.3f1, 2019.3.0b1, 2020.1.0a1

Note: same issue with Matrix4x4 and Color, Color32

  1. This is a duplicate of issue #1042790

    [Scripting] Vectors, Ray and Plane are not IFormattable

Add comment

Log in to post comment