Forum

Project crashing when opened with 2021.4.0-proxies-0088

when opening the project I am currently working on with 2021.4.0-proxies-0088 I get the following exception:

************** Exception Text **************
System.NotImplementedException: The method or operation is not implemented.
   at VL.Lang.Platforms.Roslyn.TargetCompilation.GetClrType(IConcreteTypeSymbol type)
   at VL.Lang.Platforms.Roslyn.TargetCompilation.<GetClrType>b__37_1(ITypeSymbol t)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at VL.Lang.Platforms.Roslyn.TargetCompilation.GetClrType(IConcreteTypeSymbol type)
   at VL.Lang.Platforms.Roslyn.TargetCompilation.GetClrType(IConcreteTypeSymbol type)
   at VL.Model.ModelInterfaceExtensions.GetClrValue(ICompileTimeValue value, ITypeSymbol type, ITargetCompilation targetCompilation, IVLFactory factory)
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at VL.Lang.Symbols.PatchedNodePinSymbol.<get_Value>g__Compute|28_0()
   at VL.Lang.Symbols.PatchedNodePinSymbol.get_Value()
   at VL.Lang.Symbols.PatchedPatchPinSymbol.<get_Value>g__TryGetDefaultValue|32_1(IDataHubSymbol hub, ICompileTimeValueSymbol& value)
   at VL.Lang.Symbols.PatchedPatchPinSymbol.<get_Value>g__Compute|32_0()
   at VL.Lang.Symbols.PatchedPatchPinSymbol.get_Value()
   at VL.Lang.Symbols.PatchSymbol.<ResolveAdaptives>g__Resolve|51_0(ReadOnlySpan`1 symbols, TypeUnification unification, <>c__DisplayClass51_0& )
   at VL.Lang.Symbols.PatchSymbol.<ResolveAdaptives>g__Resolve|51_0(ReadOnlySpan`1 symbols, TypeUnification unification, <>c__DisplayClass51_0& )
   at VL.Lang.Symbols.PatchSymbol.ResolveAdaptives(INodeDefinitionSymbol self, HashSet`1 touchedNodes)
   at VL.Lang.Symbols.PreCompilation.<>c__DisplayClass9_0.<Initialize>g__CompileItem|2(BuildItem item)
   at VL.Lang.Symbols.PreCompilation.<>c__DisplayClass9_0.<Initialize>g__ProcessReferencedItems|6(BuildItem item, HashSet`1 referencedItems)
   at VL.Lang.Symbols.PreCompilation.<>c__DisplayClass9_0.<Initialize>g__CompileItem|2(BuildItem item)
   at VL.Lang.Symbols.PreCompilation.Initialize(PreCompilation previousCompilation, CancellationToken token, IProgress`1 progress)
   at VL.Model.VLSession.<>c__DisplayClass130_0.<PrepareSolutionWithFreshSymbols>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Model.VLSession.<PrepareSolutionWithFreshSymbols>d__130.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Model.VLSession.<UpdateCompilationAsync>d__127.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at VL.Model.VLSession.<UpdateCompilationAsync>d__127.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Model.VLSession.<UpdateCompilationAsync>d__124.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Model.VLSession.<UpdateAsync>d__121.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.Model.VLSession.<LoadDocuments>d__108.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.VLContext.<Initialize>d__16.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at VL.VLContext.<OnOpen>d__15.MoveNext()

Works fine with 2021.4.0-0085.

Thanks. Should be fixed in upcoming builds.

Tried with 2021.4.0-0102 no more exceptions.