Vector implicit conversion failing (in Add List Item)

Vong 2 years ago updated by Lazlo Bonin (Lead Developer) 1 year ago 3

If you add a Vector3 to a (generic) List of Vector2, it will throw an exception (instead of implicitly converting)

edit: removed a user-error example of what I thought was a related case

Bolt Version:
Unity Version:
Scripting Backend:
.NET Version (API Compatibility Level):
Cannot Fix

In Bolt 1, because we don't know the type of the Add List Item port when adding, we can't convert implicitly because we don't actually know the type of the list ahead of time. This is fixed in Bolt 2 Alpha 4 with true support for generic lists.

Ahh it's a List issue. Should've known. For some reason thought it was a vector issue (due to reasons that turned out to be user error)