0
Need More Information

Error while generation code 2a10

Balaji 2 years ago updated 2 years ago 2

Unhandled exception during generation:

System.NotSupportedException: Component Array does not support code generation.

at Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecoratorType (System.Type decoratedType) [0x00036] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:111

at Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].CreateDecorator (TDecorated decorated) [0x00029] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:45

at Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecorator (TDecorated decorated) [0x000a7] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:294

at Ludiq.SingleDecoratorProvider`3[TDecorated,TDecorator,TAttribute].GetDecorator[T] (TDecorated decorated) [0x00001] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Ludiq.Core/Editor/Decorators/SingleDecoratorProvider.cs:308

at Ludiq.Bolt.XGeneratorProvider.Generator[TGenerator] (System.Object o, Ludiq.Bolt.IGeneration generation) [0x00001] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/GeneratorProvider.cs:24

at Ludiq.Bolt.BoltGenerationUtility.GenerateLiteral (System.Object o, Ludiq.Bolt.IGeneration generation) [0x00013] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/BoltGenerationUtility.cs:45

at Ludiq.Bolt.FlowGraphVariableGenerator.GenerateField (Ludiq.Bolt.FieldGeneration field) [0x00009] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Flow/Editor/Generation/FlowGraphVariableGenerator.cs:57

at Ludiq.Bolt.CompositeGeneration`1+<>c__DisplayClass8_0`2[TDeclaration,TGeneration,TCode].b__0 (TGeneration generation) [0x00000] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/CompositeGeneration.cs:37

at Ludiq.Bolt.FieldGeneration.GenerateDeclaration () [0x00001] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/FieldGeneration.cs:18

at Ludiq.Bolt.MemberGeneration`1[TDeclaration].Ludiq.Bolt.IMemberGeneration.GenerateDeclaration () [0x00000] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/MemberGeneration.cs:32

at Ludiq.Bolt.CompositeGeneration`1+<>c[TDeclaration].b__26_0 (Ludiq.Bolt.IMemberGeneration m) [0x00000] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/CompositeGeneration.cs:162

at System.Linq.Enumerable+SelectIListIterator`2[TSource,TResult].MoveNext () [0x00048] in :0

at System.Collections.Generic.List`1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable`1[T] collection) [0x000db] in <599589bf4ce248909b8a14cbe4a2034e>:0

at System.Collections.Generic.List`1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in <599589bf4ce248909b8a14cbe4a2034e>:0

at Ludiq.Bolt.BoltClassGenerator.GenerateDeclaration (Ludiq.Bolt.ClassGeneration classGeneration) [0x00041] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generators/BoltClassGenerator.cs:100

at Ludiq.Bolt.ClassGeneration.GenerateDeclaration () [0x00001] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/ClassGeneration.cs:25

at Ludiq.Bolt.TypeGeneration`1[TDeclaration].Ludiq.Bolt.ITypeGeneration.GenerateDeclaration () [0x00000] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/TypeGeneration.cs:11

at Ludiq.Bolt.DocumentGenerator.Generate (Ludiq.Bolt.DocumentGeneration generation) [0x0024e] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generators/DocumentGenerator.cs:64

at Ludiq.Bolt.DocumentGeneration.Generate () [0x00001] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/DocumentGeneration.cs:33

at Ludiq.Bolt.RootGeneration.Generate () [0x00022] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/Generations/RootGeneration.cs:106

at Ludiq.Bolt.GenerationWorkflow+<>c__DisplayClass2_0.b__1 (Ludiq.Task generationTask) [0x0007f] in /Users/balaji/Unity/Match-3 BOLT/Assets/Ludiq/Bolt.Core/Editor/Generation/GenerationWorkflow.cs:77

UnityEngine.Debug:LogError(Object)

Ludiq.Bolt.<>c__DisplayClass2_0:b__1(Task) (at Assets/Ludiq/Bolt.Core/Editor/Generation/GenerationWorkflow.cs:81)

Ludiq.Task:Run() (at Assets/Ludiq/Ludiq.Core/Editor/Tasks/Task.cs:62)

Ludiq.WindowTaskRunner:RunSynchronous(Task) (at Assets/Ludiq/Ludiq.Core/Editor/Tasks/Runners/WindowTaskRunner.cs:62)

Ludiq.<>c__DisplayClass10_0:b__0() (at Assets/Ludiq/Ludiq.Core/Editor/Tasks/Runners/WindowTaskRunner.cs:34)

System.Threading.ThreadHelper:ThreadStart()

Bolt Version:
2.0.0a10
Unity Version:
2019.2.8f1
Platform(s):
OSX
Scripting Backend:
.NET Version (API Compatibility Level):
Bolt 2
Need More Information

Hi Balaji,

Thanks for the report. It seems like you are using a custom type ("Component Array"). Can you provide reproduction steps to trigger this issue in a clean project?

First of all. Thanks for responding. Secondly, sorry I lost track of this bug when and where this happened.