Greetings. I have an openfl/away3d project (similar to the Basic3DSLoader example) that compiles successfully in flash or html5. I’m trying to target windows now. The window opens and I see my preloader, but then I get a little box pops up with “Null Object Reference”; clicking OK crashes the application. I’ve tried different versions of Visual Studio Community (2019, 2015, currently 2017) and I’m using hxcpp 4.0.19 and the latest openfl, haxe, etc. Any ideas as to what would trigger this? Thank you in advance.
Called from hxcpp::__hxcpp_main
Called from ApplicationMain::main ApplicationMain.hx line 25
Called from ApplicationMain::create ApplicationMain.hx line 130
Called from lime.app.Application::exec lime/app/Application.hx line 150
Called from lime._internal.backend.native.NativeApplication::exec lime/_internal/backend/native/NativeApplication.hx line 146
Called from lime._internal.backend.native.NativeApplication::handleRenderEvent lime/_internal/backend/native/NativeApplication.hx line 370
Called from lime.app._Event_lime_graphics_RenderContext_Void::dispatch lime/_internal/macros/EventMacro.hx line 91
Called from openfl.display.Stage::__onLimeRender openfl/display/Stage.hx line 1955
Called from openfl._internal.renderer.context3D.Context3DRenderer::__render openfl/_internal/renderer/context3D/Context3DRenderer.hx line 857
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObject openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1001
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObjectContainer openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1070
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObject openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1001
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObjectContainer openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1070
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObject openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1001
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObjectContainer openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1070
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObject openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1001
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObjectContainer openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1070
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObject openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1001
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObjectContainer openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1070
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderDisplayObject openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1003
Called from openfl._internal.renderer.context3D.Context3DRenderer::__renderShape openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1185
Called from openfl._internal.renderer.context3D.Context3DRenderer::__updateCacheBitmap openfl/_internal/renderer/context3D/Context3DRenderer.hx line 1420