0
Fixed

2.0.0a7 C# gen issues. Cannot convert type 'Ludiq.Bolt.ClassComponent' to 'Ludiq.Bolt.Generated.ItemSlot'

Ex-Crow 9 months ago updated by Lazlo Bonin (Lead Developer) 9 months ago 2

Graph works in Live mode but this came up when trying to generate C# code. 

Assets\Ludiq.Generated\Transient\Scripts\Inventory.cs(83,18): error CS0030: Cannot convert type 'Ludiq.Bolt.ClassComponent' to 'Ludiq.Bolt.Generated.ItemSlot'

Graph: https://imgur.com/UJQJ1eT

Bolt Version:
2.0.0a7
Unity Version:
2019.2.18
Platform(s):
PC
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x
Bolt 2
Fixed (Unreleased)

Hi TowerCrow,

Thanks for the report. I didn't reproduce your example as is because it's a bit involved, but I think I fixed the underlying issue of converting from ClassComponent to a specific component class in codegen for the next version.