+1
Fixed

2.0.0a4 - error CS1061: 'IUnit' does not contain a definition for 'defaultValues'

TowerCrow 7 months ago updated by Lazlo Bonin (Lead Developer) 4 weeks ago 3

This happens when I try to generate C# code with an instantiate unit's inline value filled in.

Assets\Ludiq.Generated\Transient\Scripts\TestGraphScript.cs(45,125): error CS1061: 'IUnit' does not contain a definition for 'defaultValues' and no accessible extension method 'defaultValues' accepting a first argument of type 'IUnit' could be found (are you missing a using directive or an assembly reference?)
Bolt Version:
2.0.0a4
Unity Version:
2018.3.11f1
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
Working on Fix

Hi TowerCrow, thanks for the report. Yep, I can see how that would happen with the changes in Alpha 4. Will fix.

Fixed in Alpha

Fixed for Alpha 5.