Fail to set a variable with DateTime.now

Harrisyu 6 months ago 0

Fail to set a variable with DateTime.now, it works in bolt 1.4, but broke in Bolt v.2.0.0a10.

Console output:

ArgumentException: Type DateTime cannot be marshaled as an unmanaged structure.

Parameter name: t

Bolt Version:
Bolt v.2.0.0a10
Unity Version:
windows 10
Scripting Backend:
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2