InvalidOperationException: Sequence contains no matching element
Options
in Photon Bolt
Hi,
We started having this Bolt Compiler error when we try to build the assets. Has anyone ever ran into this problem?
InvalidOperationException: Sequence contains no matching element
System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <839a3cb835c04d14aeb58d83bb7bc4bd>:0)
Bolt.Compiler.CodeGenerator.FindState (System.Guid guid) (at <61cd2a900315498b89d22f6449f6fa41>:0)
Bolt.Compiler.StateDecorator+d__2.MoveNext () (at <61cd2a900315498b89d22f6449f6fa41>:0)
System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <839a3cb835c04d14aeb58d83bb7bc4bd>:0)
Bolt.Compiler.CodeGenerator.b__e (Bolt.Compiler.StateDecorator a, Bolt.Compiler.StateDecorator b) (at <61cd2a900315498b89d22f6449f6fa41>:0)
System.Collections.Generic.ArraySortHelper`1[T].InsertionSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) (at :0)
Rethrow as InvalidOperationException: Failed to compare two elements in the array.
System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) (at :0)
Bolt.Compiler.CodeGenerator.SortStatesByHierarchy () (at <61cd2a900315498b89d22f6449f6fa41>:0)
Bolt.Compiler.CodeGenerator.Run (Bolt.Compiler.Project context, System.String file) (at <61cd2a900315498b89d22f6449f6fa41>:0)
Bolt.Compiler.Project.GenerateCode (System.String file) (at <61cd2a900315498b89d22f6449f6fa41>:0)
BoltCompiler.Run (BoltCompilerOperation op) (at <3a3e65c4e7604d1e977cadf75b0a1e9a>:0)
BoltUserAssemblyCompiler.Run () (at <3a3e65c4e7604d1e977cadf75b0a1e9a>:0)
UnityEngine.Debug:LogException(Exception)
BoltUserAssemblyCompiler:Run()
BoltProjectWindow:Footer()
BoltProjectWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
We never had this bug before, it ws building allright with our latest changes, and now, suddenly, it compiles wrong.
Thanks
Benoit
We started having this Bolt Compiler error when we try to build the assets. Has anyone ever ran into this problem?
InvalidOperationException: Sequence contains no matching element
System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <839a3cb835c04d14aeb58d83bb7bc4bd>:0)
Bolt.Compiler.CodeGenerator.FindState (System.Guid guid) (at <61cd2a900315498b89d22f6449f6fa41>:0)
Bolt.Compiler.StateDecorator+d__2.MoveNext () (at <61cd2a900315498b89d22f6449f6fa41>:0)
System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <839a3cb835c04d14aeb58d83bb7bc4bd>:0)
Bolt.Compiler.CodeGenerator.b__e (Bolt.Compiler.StateDecorator a, Bolt.Compiler.StateDecorator b) (at <61cd2a900315498b89d22f6449f6fa41>:0)
System.Collections.Generic.ArraySortHelper`1[T].InsertionSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.ArraySortHelper`1[T].IntroSort (T[] keys, System.Int32 lo, System.Int32 hi, System.Int32 depthLimit, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.ArraySortHelper`1[T].IntrospectiveSort (T[] keys, System.Int32 left, System.Int32 length, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) (at :0)
Rethrow as InvalidOperationException: Failed to compare two elements in the array.
System.Collections.Generic.ArraySortHelper`1[T].Sort (T[] keys, System.Int32 index, System.Int32 length, System.Comparison`1[T] comparer) (at :0)
System.Collections.Generic.List`1[T].Sort (System.Comparison`1[T] comparison) (at :0)
Bolt.Compiler.CodeGenerator.SortStatesByHierarchy () (at <61cd2a900315498b89d22f6449f6fa41>:0)
Bolt.Compiler.CodeGenerator.Run (Bolt.Compiler.Project context, System.String file) (at <61cd2a900315498b89d22f6449f6fa41>:0)
Bolt.Compiler.Project.GenerateCode (System.String file) (at <61cd2a900315498b89d22f6449f6fa41>:0)
BoltCompiler.Run (BoltCompilerOperation op) (at <3a3e65c4e7604d1e977cadf75b0a1e9a>:0)
BoltUserAssemblyCompiler.Run () (at <3a3e65c4e7604d1e977cadf75b0a1e9a>:0)
UnityEngine.Debug:LogException(Exception)
BoltUserAssemblyCompiler:Run()
BoltProjectWindow:Footer()
BoltProjectWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
We never had this bug before, it ws building allright with our latest changes, and now, suddenly, it compiles wrong.
Thanks
Benoit
0