It runs for like 3 seconds and then crashes. This is the complete error message:
Called from ? line 1
Called from ApplicationMain.hx line 139
Called from ApplicationMain.hx line 51
Called from lime/app/Application.hx line 221
Called from lime/_backend/native/NativeApplication.hx line 129
Called from lime/_backend/native/NativeApplication.hx line 350
Called from lime/app/Event.hx line 145
Called from lime/app/Application.hx line 110
Called from lime/app/Application.hx line 750
Called from openfl/display/Stage.hx line 697
Called from openfl/_internal/renderer/opengl/GLRenderer.hx line 303
Called from openfl/_internal/renderer/opengl/GLRenderer.hx line 340
Called from openfl/display/DisplayObjectContainer.hx line 758
Called from openfl/display/OpenGLView.hx line 195
Called from openfl/display3D/Context3D.hx line 674
Called from Basic_Load3DS.hx line 168
Called from away3d/containers/View3D.hx line 891
Called from away3d/core/render/RendererBase.hx line 237
Called from away3d/core/render/DefaultRenderer.hx line 54
Called from away3d/core/render/DefaultRenderer.hx line 75
Called from away3d/lights/shadowmaps/ShadowMapperBase.hx line 137
Called from away3d/lights/shadowmaps/DirectionalShadowMapper.hx line 82
Called from away3d/core/render/RendererBase.hx line 237
Called from away3d/core/render/RendererBase.hx line 276
Called from away3d/core/render/DepthRenderer.hx line 118
Called from away3d/core/render/DepthRenderer.hx line 151
Called from away3d/materials/MaterialBase.hx line 402
Called from away3d/materials/passes/DepthMapPass.hx line 160
Called from away3d/core/base/SubMesh.hx line 320
Called from away3d/core/base/SubGeometryBase.hx line 145
Called from openfl/display3D/IndexBuffer3D.hx line 81
Called from lime/utils/ArrayBufferView.hx line 292
Called from C:\dev\HaxeToolkit\haxe\std/neko/_std/Std.hx line 39
Uncaught exception - std@math_floor
AL lib: (EE) alc_cleanup: 1 device not closed
on Win target it runs, you can see the ant, but the lights arent' there
-openfl 3.6.0
after looking through the readme and testing to run with -Dlegacy, that seems to be the problem. it works on legacy, but after closing the application I get this message on the command line:
'GL Error: 1280 17x26'
It runs for like 3 seconds and then crashes. This is the complete error message:
Called from ? line 1 Called from ApplicationMain.hx line 139 Called from ApplicationMain.hx line 51 Called from lime/app/Application.hx line 221 Called from lime/_backend/native/NativeApplication.hx line 129 Called from lime/_backend/native/NativeApplication.hx line 350 Called from lime/app/Event.hx line 145 Called from lime/app/Application.hx line 110 Called from lime/app/Application.hx line 750 Called from openfl/display/Stage.hx line 697 Called from openfl/_internal/renderer/opengl/GLRenderer.hx line 303 Called from openfl/_internal/renderer/opengl/GLRenderer.hx line 340 Called from openfl/display/DisplayObjectContainer.hx line 758 Called from openfl/display/OpenGLView.hx line 195 Called from openfl/display3D/Context3D.hx line 674 Called from Basic_Load3DS.hx line 168 Called from away3d/containers/View3D.hx line 891 Called from away3d/core/render/RendererBase.hx line 237 Called from away3d/core/render/DefaultRenderer.hx line 54 Called from away3d/core/render/DefaultRenderer.hx line 75 Called from away3d/lights/shadowmaps/ShadowMapperBase.hx line 137 Called from away3d/lights/shadowmaps/DirectionalShadowMapper.hx line 82 Called from away3d/core/render/RendererBase.hx line 237 Called from away3d/core/render/RendererBase.hx line 276 Called from away3d/core/render/DepthRenderer.hx line 118 Called from away3d/core/render/DepthRenderer.hx line 151 Called from away3d/materials/MaterialBase.hx line 402 Called from away3d/materials/passes/DepthMapPass.hx line 160 Called from away3d/core/base/SubMesh.hx line 320 Called from away3d/core/base/SubGeometryBase.hx line 145 Called from openfl/display3D/IndexBuffer3D.hx line 81 Called from lime/utils/ArrayBufferView.hx line 292 Called from C:\dev\HaxeToolkit\haxe\std/neko/_std/Std.hx line 39 Uncaught exception - std@math_floor AL lib: (EE) alc_cleanup: 1 device not closed
on Win target it runs, you can see the ant, but the lights arent' there -openfl 3.6.0