0
Fixed

Vector implicit conversion failing (in Add List Item)

AiSard 9 months ago updated by Lazlo Bonin (Lead Developer) 2 months 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:
v.1.4.1b5
Unity Version:
2018.3.3f1
Platform(s):
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)