Hello
I am attempting to create an extension to wrap WebGL (Three.JS) and I am having a strange issue.
I have gotten an early test to work in the simulator but in the browser I get an error I can't figure out.
[img]Capture.JPG[/img]
The error is
Uncaught Error: The function 'System.Void ThreeJS.Viewport3D/<Viewport3D_Loaded>d__2::MoveNext()' could not be translated.
    at ThreeJS_Viewport3D_$lViewport3D_Loaded$gd__2.UntranslatableFunctionInvoked (JSIL.Core.js:1228)
    at System_Runtime_CompilerServices_AsyncVoidMethodBuilder_CopyConstructor.AwaitOnCompleted [as Start$b1$175[!!0]=void] (JSIL.Bootstrap.Async.js:47)
    at System_Runtime_CompilerServices_AsyncVoidMethodBuilder_CopyConstructor.System_Runtime_CompilerServices_AsyncVoidMethodBuilder_Start$b1 (jsil://closure/System.Runtime.CompilerS ... lder.Start`1:9)
    at BoundGenericMethod_Invoke (jsil://closure/System.Runtime.CompilerS ... lder.Start`1.BindGenericArguments[1]:22)
    at ThreeJS_Viewport3D.Viewport3D_Viewport3D_Loaded (app-cshtml5/app/ThreeJS.js?20171191629:45)
    at ThreeJS_Viewport3D.Delegate_Invoke [as Loaded] (JSIL.Core.js:9346)
    at ThreeJS_Viewport3D.FrameworkElement_INTERNAL_RaiseLoadedEvent (app-cshtml5/app/CSharpXamlForHtml5.js?20171191629:9022)
    at Object.INTERNAL_VisualTreeManager_AttachVisualChild_Private (app-cshtml5/app/CSharpXamlForHtml5.js?20171191629:20765)
    at Object.INTERNAL_VisualTreeManager_AttachVisualChildIfNotAlreadyAttached (app-cshtml5/app/CSharpXamlForHtml5.js?20171191629:20773)
    at Function.Panel_ManageChildrenChanged$00 (app-cshtml5/app/CSharpXamlForHtml5.js?20171191629:23931)
A sample project that demonstrates this error is attached
Thank you